Module fmeobjects :: Class FMECompositeSolid
[hide private]
[frames] | no frames]

Class FMECompositeSolid


init(MultipleInvocations)

Create an instance of a Composite Solid geometry object.

init()

Default FMECompositeSolid constructor.

Returns: FMECompositeSolid

init(compositeSolid)

Create a copy of the passed in Composite Solid geometry object.

Parameters

Returns: FMECompositeSolid

Instance Methods [hide private]
 
__decIterRef__(args)
 
__incIterRef__(args)
 
__init__(MultipleInvocations)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__iter__(x)
iter(x)
None
appendPart(solid)
Appends a simple solid to the end of this composite solid.
FMESimpleSolid or None
getPartAt(index)
Returns the solid at the index specified, or returns None if the index is out of range.
int
numParts()
Returns the number of simple solids that are contained in this composite.
FMESimpleSolid or None
removeEndPart()
Removes the last simple solid of this composite solid.
None
resolvePartDefaults()
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.

Inherited from FMESolid: getAppearanceReference, getAsWireFrame, offset, reverse, rotate2D, scale, setAppearanceReference

Inherited from FMEGeometry: __getObject__, __new__, boundingBox, boundingCube, bounds, clearMeasures, copyAttributesFromFeature, copyNameFromGeometry, copyTraitsFromGeometry, copyTraitsToFeature, deleteName, force2D, force3D, getArea, getMeasureNames, getName, getTrait, getTraitNames, getTraitNullMissingAndType, getTraitType, hasMeasures, hasName, is3D, isCollection, measureExists, removeMeasure, removeTraits, renameMeasure, setName, setTrait, setTraitNullWithType

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(MultipleInvocations)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

appendPart(solid)

 

Appends a simple solid to the end of this composite solid. A None input is ignored.

Parameters:
Returns: None
Raises:
  • FMEException - An exception is raised if an error occurred.

getPartAt(index)

 

Returns the solid at the index specified, or returns None if the index is out of range.

Parameters:
  • index (int) - The index of the solid part to return.
Returns: FMESimpleSolid or None
The simple solid at the given index.
Raises:
  • FMEException - An exception is raised if an error occurred.

numParts()

 

Returns the number of simple solids that are contained in this composite.

Returns: int
The number of simple solids in the composite solid.

removeEndPart()

 

Removes the last simple solid of this composite solid. If there are no solids in this composite, this method will return None.

Returns: FMESimpleSolid or None
The last simple solid of the composite solid or None.
Raises:
  • FMEException - An exception is raised if an error occurred.

resolvePartDefaults()

 

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 appearences on the part.

Returns: None