Home | Trees | Indices | Help |
---|
|
object --+ | FMEGeometry --+ | FMESurface --+ | FMESimpleSurface --+ | FMETriangleFan
init(MultipleInvocations)
Create an instance of a Triangle Fan geometry object.
init()
Default FMETriangleFan constructor.
Returns: FMETriangleFan
init(points)
Creates a line consisting of the list of points passed in.
Parameters
points (list of tuple of float)
- The list of points to
set to the triangle fan. The points are represented as (x, y, z)
tuples.
Returns: FMETriangleFan
init(triangleFan)
Create a copy of the passed in Triangle Fan geometry object.
Parameters
triangleFan FMETriangleFan
- The Triangle Fan geometry
object to create a copy of.
Returns: FMETriangleFan
|
|||
|
|||
None
|
|
||
None
|
|
||
FMEFace or
None
|
|
||
float
|
|
||
list of float
|
|
||
tuple of float s
|
|
||
list of FMEPoint
|
|
||
FMELine |
|
||
int
|
|
||
None
|
|
||
None
|
|
||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Appends coordinates to the end of the coordinate list that defines the triangle fan. This operation effectively appends new triangles to the triangle fan. After the append operation, coordinates at indices 0, i + 1, and i + 2 define the ith triangle.
|
Appends coordinates to the end of the coordinate list that defines the triangle fan. This operation effectively appends new triangles to the triangle fan. After the append operation, coordinates at indices 0, i + 1, and i + 2 define the ith triangle.
|
Returns a triangular face defined by this triangle fan. The index indicates the specific triangular face to return. In particular, given an index i, the triangular face returned is specified by the coordinate indices 0, i + 1, and i + 2. If the specified index is out of range, then None is returned.
|
Get the value of the default measure at the 'index'. If 'measureName' is supplied, this method gets the value of the named measure at 'index'. Returns an error if the measure doesn't exist or 'index' is out of range.
|
Returns the value of the default measure, or the measure named by 'measureName'.
|
Gets a coordinate of this triangle fan at the specified index. If index is out of range, then an error is generated.
|
Gets the points of the triangle fan as a list of FMEPoint objects. The size of the given list must be exactly equal to the value returned by numPoints(). If the triangle fan is 2D the z values of the triangle fan will be populated with 0.0 values. Returns an error if an error occurred.
|
Returns a line that contains the points in this triangle fan. The line will have all the geometry traits and measures of the triangle fan.
|
Returns the number of coordinates in this triangle fan.
|
Set the default measure to the given values. Create the measure if it doesn't already exist. If 'measureName' is supplied, this method sets the given measure to 'measureValues', or creates the measure if it doesn't already exist. The size of measureValues must be exactly equal to the value returned by numPoints().
|
Set the default measure of the point at 'index' to the given
'measureValue'. If 'measureName' is supplied, this method sets the given
measure of the point at 'index' to 'measureValue'. Creates the measure if
it doesn't already exist and set the measures to all points other than
the point at the given index to
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Nov 26 19:10:17 2015 | http://epydoc.sourceforge.net |