def getCarvingFromParser(xmlParser):
 booleanGeometryElement = xmlParser.getDocumentElement()
 booleanGeometryElement.xmlObject = boolean_geometry.BooleanGeometry()
 booleanGeometryElement.xmlProcessor = XMLBooleanGeometryProcessor()
 booleanGeometryElement.xmlProcessor.processChildNodes(booleanGeometryElement)
 return booleanGeometryElement.xmlObject

def getCarvingFromParser ( xmlParser ) : booleanGeometryElement = xmlParser . getDocumentElement ( ) booleanGeometryElement . xmlObject = boolean_geometry . BooleanGeometry ( ) booleanGeometryElement . xmlProcessor = XMLBooleanGeometryProcessor ( ) booleanGeometryElement . xmlProcessor . processChildNodes ( booleanGeometryElement ) return booleanGeometryElement . xmlObject
get the carving for the parser .