Home | Trees | Indices | Help |
---|
|
object --+ | FMEGeometry --+ | FMEMultiSurface
init(MultipleInvocations)
Create an instance of a Multi-Surface geometry object.
init()
Default FMEMultiSurface constructor.
Returns: FMEMultiSurface
init(multiSurface)
Create a copy of the passed in Multi-Surface geometry object.
Parameters
multiSurface FMEMultiSurface
- The Multi-Surface geometry
object to create a copy of.
Returns: FMEMultiSurface
|
|||
|
|||
|
|||
|
|||
|
|||
None
|
|
||
None
|
|
||
int
|
|
||
FMEMultiCurve or None
|
|
||
FMESurface of a terminal type or None
|
|
||
tuple
|
|
||
bool
|
|
||
int
|
|
||
None
|
|
||
None
|
|
||
FMESurface of a terminal type or None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
This appends the surface to the multi surface. If
|
This appends the multi surface passed in to the multi surface. If None is passed in, nothing will be appended.
|
This method returns the appearance reference within the Library associated with this multisurface. The front parameter controls whether this query should return the front or the back appearance reference. Both can be fetched independently. If this multisurface is a regular multisurface with no geometry instance, a FMEException will be thrown.
|
Returns the wireframe of the contained surfaces as a FMEMultiCurve.
|
This method returns the surface at the given index.
|
Works similarly to isPlanar(), but checks planarity with respect to
given normal or given plane (if plane equation D is specified - see
below). If given normal is the zero vector, the normal used to check the
planarity is computed using Newell's method as in isPlanar(). valD is a
reference to a value of D in the plane equation AX + BY + CZ = D. It can
be used to make sure that multiple pieces lie in the same plane. If
'recalculateD' is set to
|
Returns The planarity condition is computed by the following algorithm. The normal vector <A, B, C> is determined by the vertices of this multisurface using Newell's method. For the first point (x', y', z') of this multisurface, we compute D' = Ax' + By' + Cz'. Then, this multisurface is planar if and only if every subsequent point (x, y, z) of this multisurface gives a D = Ax + By + Cz, that is within the tolerance amount of D'. That is, | D - D' | <= tolerance. If the specified tolerance is negative, then this method always
returns
|
This returns the number of surfaces that make up this multi surface.
|
Offsets the geometry by the coords specified by offsetPoint.
|
When set at this FMEMultiSurface level, the appearance represents the default appearance to apply when the contained surfaces use the default appearance instead of a specific appearance. This call will remove the inherited appearance reference stored at this level, if any, on the side specified by the parameter front.
|
This removes and returns the last surface of the multi surface. If
there are no surfaces in the multi surface, it will return
|
Recursively resolves surface parts with default appearances by replacing these defaults with the inherited appearance references stored by the parent surface, if such a value exists. The nearest non-default ancestor value will be used to set the default appearances on the part.
|
Rotates the contained surfaces about the z-axis by the specified angle, in degrees. The rotation is performed relative to the center specified. A positive angle corresponds to a counter-clockwise rotation, when looking down onto the XY-plane.
|
Scales the contained surfaces by the scaling factors, relative to the origin.
|
This method associates an appearance within the Library with this multisurface. 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 FMESurface level, the appearance represents the default appearance to apply when the contained multisurfaces use the default appearance instead of a specific appearance. Contained multisurfaces may be found within nested multisurfaces, geometry instances that reference geometries containing multisurfaces, or as multisurfaces or multi-multisurfaces. The second parameter controls whether this action should take place on the front of the contained multisurfaces 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'.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Nov 26 19:10:16 2015 | http://epydoc.sourceforge.net |