Home | Trees | Indices | Help |
---|
|
object --+ | FMEGeometry --+ | FMESurface
init()
FMESurface is an abstract class. It cannot be created directly.
|
|||
|
|||
|
|||
|
|||
|
|||
boolean
|
|
||
int
|
|
||
FMEMultiCurve or None
|
|
||
tuple
|
|
||
boolean
|
|
||
bool
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
|
|||
boolean
|
|
||
Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
This method deletes the side specified by 'front' and indicates whether or not it existed before being deleted.
|
This method returns the appearance reference within the Library associated with this surface. The front parameter controls whether this query should return the front or the back appearance reference. Both can be fetched independently. If this surface is a regular surface with no geometry instance, a FMEException will be thrown.
|
Returns the wireframe of the surface as a FMEMultiCurve. None is returned if a wireframe cannot be generated.
|
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
|
A face with a donut area will not be oriented if the normal of any
inner boundary has the same direction as the normal of the outer
boundary. Meshes and composite surfaces will return
|
Returns The planarity condition is computed by the following algorithm. The normal vector <A, B, C> is determined by the vertices of this surface using Newell's method. For the first point (x', y', z') of this surface, we compute D' = Ax' + By' + Cz'. Then, this surface is planar if and only if every subsequent point (x, y, z) of this surface 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
|
Offsets the surface by the coords specified by 'offsetPoint'.
|
Flips the front and the back of parts of the surface as required to
create a surface that is oriented. Refer to isOriented() for the specification of what it means to
be an oriented surface. If the surface is improperly noded or
non-orientable, the behaviour of this function is undefined. All measures
are changed as needed, including the vertex normal measures. Note: The
vertex normals are not flipped (scaled by
|
Flips the surface such that the front and back of the surface are switched. All measures are changed as needed, including the vertex normal measures. Note: The vertex normals are not flipped (scaled by -1). Refer to reverse() if the vertex normals need to be flipped. Note: FMETriangleStrips have a method called isFlipped() that is to be used in conjunction with the geometry to determine which side is the front. When isFlipped() returns true, the front is actually the opposite side of what the coordinates of the first triangle in the strip indicate.
|
Rotates this surface 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.
|
Scale the feature by the given amounts.
|
This method associates an appearance within the Library with this surface. 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 surfaces use the default appearance instead of a specific appearance. Contained surfaces may be found within nested surfaces, 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 checks whether the side specified by 'front' exists.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Nov 26 19:10:16 2015 | http://epydoc.sourceforge.net |