fmeobjects.FMECSGSolidIterator

This method returns a valid CSG Boolean Operator if isLeaf() returns |
|
This method returns the same solid as next() but if the CSG solid has a transformation matrix, the matrix is NOT applied to the leaf solid when returned. |
|
This method returns |
|
This method returns |
|
This method returns |
- class FMECSGSolidIterator
FME CSG Solid Iterator Class
init()
FMECSGSolidIteratorshould not be constructed directly. Instead, use the iterator semantics ofFMECSGSolidto get anFMECSGSolidIteratorwhich can be used to iterate over its geometries.- __init__(*args, **kwargs)
- getOperator()
This method returns a valid CSG Boolean Operator if isLeaf() returns
True. This method returnsFME_CSG_NONEif isLeaf() returnsFalse.- Return type:
- Returns:
Returns a valid CSG Boolean Operator.
- getPartInLocalCoordinates()
This method returns the same solid as next() but if the CSG solid has a transformation matrix, the matrix is NOT applied to the leaf solid when returned. This method must be called after next().
- Return type:
FMESolid or None
- Returns:
Returns the solid at the current node in local coordinates.
- isBranch()
This method returns
Trueif the iterator reaches a branch node in the CSG solid tree structure and if next() was called a Stop iteration exception would be thrown. This method returnsFalseif the iterator is at a leaf node.
- isLeftLeaf()
This method returns
Trueif the iterator reaches a left leaf node in the CSG solid tree structure. This method returnsFalseif the iterator is at a branch node or a right leaf node in the CSG solid tree structure.