Home | Trees | Indices | Help |
---|
|
object --+ | FMEGeometry --+ | FMEAggregate
init(MultipleInvocations)
Create an instance of an Aggregate geometry object.
init()
Default FMEAggregate constructor.
Returns: FMEAggregate
init(aggregate)
Create a copy of the passed in Aggregate geometry object.
Parameters
aggregate FMEAggregate
- The Aggregate geometry object
to create a copy of.
Returns: FMEAggregate
|
|||
|
|||
|
|||
|
|||
|
|||
None
|
|
||
None
|
|
||
None
|
|
||
int
|
|
||
int or None
|
|
||
tuple of float s or None
|
|
||
list of list s of float s or
None
|
|
||
bool
|
|
||
FMEGeometry of a terminal type or None
|
|
||
FMEGeometry of a terminal type or None
|
|
||
list of list s of float s
|
|
||
bool
|
|
||
bool
|
|
||
bool
|
|
||
bool
|
|
||
int
|
|
||
None
|
|
||
FMEGeometry of a terminal type or None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
This appends the geometry to the aggregate. If
|
This appends the geometry to the aggregate. If
|
This appends the aggregate of geometries passed in to the aggregate. If None is passed in, nothing will be appended. Calling this method will implicitly apply and clear any matrix associated with this aggregate.
|
This method returns the appearance reference within the Library associated with this aggregate. The front parameter controls whether this query should return the front or the back appearance reference. Both can be fetched independently. If this aggregate is a regular aggregate with no geometry instance, a FMEException will be thrown.
|
This method will get the geometry definition reference associated with
this aggregate, if this aggregate is a geometry instance. If this
aggregate is a regular aggregate with no geometry instance,
|
This method retrieves the local origin associated with the geometry
instance, if this aggregate is a geometry instance. This method will
return
|
This method retrieves the geometry instance transformation matrix
associated with the geometry instance, if this aggregate is a geometry
instance. This method will return
|
This method determines if the aggregate contains a MultipleGeometry, that is, whether the aggregate is structured in a way such that each part is its own geometry separate from the other parts in the aggregate. As a result, it is possible for an aggregate of 1 part to return true since it is about the structure of the aggregate, and not the content.
|
This method returns the geometry at the given index.
|
This method returns the geometry at the given index.
|
Gets this aggregate's transformation matrix. If the aggregate does not have such 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 ].
|
This method returns
|
This method determines if the aggregate has a transformation matrix or not.
|
This method determines if the aggregate's parts conform to a FMEMultiCurve, FMEMultiArea, or FMEMultiText, representation.
|
This method determines if the aggregate is a 'simple' aggregate. i.e. that none of its geometries are an Aggregate or Multi.
|
This returns the number of geometries that make up this aggregate.
|
Offsets the geometry by the coords specified by point. The offset will be applied to the transformation matrix associated with this aggregate. If the aggregate has no matrix, a new matrix will be created.
|
This removes and returns the last geometry of the aggregate. If there
are no geometries in the aggregate, it will return
|
The angle is CCW up from the horizontal and is measured in degrees. The rotation will be applied to the transformation matrix associated with this aggregate. If the aggregate has no matrix, a new matrix will be created.
|
Applies a scale factor to the aggregate. The scale factor will be applied to the transformation matrix associated with this aggregate. The zscale is ignored if geometry is 2D. If the aggregate has no matrix, a new matrix will be created.
|
This method associates an appearance within the Library with this aggregate. This is done by passing in the unique appearance reference for this appearance. Subsequent calls to this method on the same side, will override the previous appearance used with the new appearance passed in. An appearance reference of '0' represents the default appearance. Interpretation of the default appearance is left to the consumer of this geometry. When set at this FMEAggregate level, the appearance represents the default appearance to apply when the contained surfaces use the default appearance instead of a specific appearance. Contained surfaces may be found within nested aggregates, geometry instances that reference geometries containing surfaces, or as surfaces or multi-surfaces. The second parameter controls whether this action should take place on the front of the contained surfaces or the back. Both can be set independently. The appearanceRef should be a valid reference to a definition stored in the FMELibrary. If the reference was not found in the library, it will still attach the reference to the instance, but will throw a FMEException. This is an unhealthy situation as it represents a 'dangling reference'.
|
This method sets the geometry definition reference of this aggregate, if this aggregate is not currently a geometry instance, this call will cause the aggregate to destroy all owned parts and turn the aggregate into a geometry instance. If gdReference reference was not found in the library, it will still attach the reference to the instance, but will this is an unhealthy situation as it represents a 'dangling reference' and the user should decide to remedy this by either adding a Geometry Definition with that exact reference to the library, or else remove the reference from this geometry instance.
|
This method sets the geometry instance local origin of this aggregate. If this aggregate is not currently a geometry instance, this call will cause the aggregate to destroy all owned parts and turn the aggregate into a geometry instance. The local origin is the origin from which the geometry instance transformation matrix is applied. The default local origin is (0,0,0).
|
This method sets the geometry instance transformation matrix of this aggregate. If this aggregate is not currently a geometry instance, this call will cause the aggregate to destroy all owned parts and turn the aggregate into a geometry instance. The transformation matrix is applied to the geometry definition from the local origin to obtain the instantiated geometry.
|
This method sets whether the aggregate contains a MultipleGeometry, that is, whether the aggregate is structured in a way such that each part is its own geometry separate from the other parts in the aggregate.
|
Sets this aggregate'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 |