def getGeometryOutputByFunction( manipulationFunction, xmlElement ): "Get geometry output by manipulationFunction." geometryOutput = [] target = evaluate.getPathsByKey([], 'target', xmlElement ) for path in target: geometryOutput += getGeometryOutputByLoopFunction(manipulationFunction, SideLoop(path), xmlElement) return getUnpackedLoops(geometryOutput)
def getGeometryOutputByFunction(manipulationFunction, xmlElement): "Get geometry output by manipulationFunction." geometryOutput = [] target = evaluate.getPathsByKey('target', xmlElement) for path in target: geometryOutput += getGeometryOutputByLoopFunction( manipulationFunction, SideLoop(path), xmlElement) return getUnpackedLoops(geometryOutput)
def getVerticesByKey(key, xmlElement): "Get the vertices by key." return euclidean.getConcatenatedList( evaluate.getPathsByKey(key, xmlElement))
def getVerticesByKey( key, xmlElement ): "Get the vertices by key." return euclidean.getConcatenatedList( evaluate.getPathsByKey( key, xmlElement ) )