Home | Trees | Indices | Help |
---|
|
object --+ | FMEGeometry --+ | FMESolid --+ | FMESimpleSolid --+ | FMECSGSolid
init(MultipleInvocations)
Create an instance of a CSGSolid geometry object.
init(solid)
Creates a CSGSolid geometry object.
Parameters
solid
FMESolid - The solid to create the CSG solid from.
Returns: FMECSGSolid
init(solid, op, secondSolid)
Creates a CSGSolid geometry object.
Parameters
solid
FMESolid - The solid to create the CSG solid from.
op
int
- The operator.
Must be either FME_CSG_UNION, FME_CSG_DIFFERENCE, or FME_CSG_INTERSECTION, FME_CSG_NONE.
secondSolid
FMESolid - The seond solid to create the CSG solid
from.
Returns: FMECSGSolid
init(csgSolid)
Create a copy of the passed in CSGSolid geometry object.
Parameters
csgSolid FMECSGSolid
- The CSGSolid geometry object to
create a copy of.
Returns: FMECSGSolid
|
|||
|
|||
|
|||
|
|||
|
|||
None
|
|
||
FMEGeometry of a terminal type, or None
|
|
||
None
|
|
||
list of list s of float s
|
|
||
bool
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Inserts a solid and operator to the CSG solid hierarchy. The original
solid defined by the CSG (as the left operand) is operated on by the
specified operator and the input solid (as the right operand). If the
input solid is
|
Returns the constructed result described by this CSG solid hierarchy. Depending on the primitive solids and operators used in the hierarchy, the resultant geometry could be a collection of solids FMEMultiSolid, a single solid FMEBRepSolid, or a null geometry FMENull, if the result is an empty set.
|
Adds a copy of all the primitives stored in this CSG solid hierarchy to the multi-solid passed in. Solids existing in the input multi-solid are unmodified; thus the number of solids contained in the multi-solid will increase by the total number of primitives stored in this CSG solid hierarchy.
|
Gets this CSGSolid's transformation matrix. If the CSGSolid does not have a matrix, an identity matrix is returned. Only the top three rows of the matrix will be returned, as the bottom row is always [ 0 0 0 1 ].
|
Returns true if this CSGsolid has a transformation matrix, false otherwise.
|
Recursively resolves parts with default appearances by replacing these defaults with the inherited appearance references stored by the parent geometry, if such a value exists. The nearest non-default ancestor value will be used to set the default appearances on the part.
|
Sets this CSGSolid's transformation matrix, replacing the existing matrix if it exists. Only three rows are expected in the input array, as a bottom row of [ 0 0 0 1 ] is assumed.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Nov 26 19:10:16 2015 | http://epydoc.sourceforge.net |