Create an instance of a Mesh geometry object.
Default FMEMesh constructor.
Create a copy of the passed in Mesh geometry object.
|
|
|
|
|
__init__(MultipleInvocations)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
bool
|
addMeshPart(appearanceReference,
vertexIndices,
vertexNormalIndices,
textureCoordinateIndices)
This routine adds a new mesh part to the mesh. |
|
|
bool
|
addMeshPartExtended(hasAFront,
hasABack,
frontAppRef,
backAppRef,
vertexIndices,
vertexNormalIndices,
frontTextCoordIndices,
backTextCoordIndices)
This routine extends the functionality of addMeshPart(), allowing double-sided mesh parts to
be added. |
|
|
None
|
appendMesh(otherMesh)
Appends a mesh passed in to the mesh, by appending the vertices,
vertex normals and texture coordinates and then by appending mesh
parts with updated indices. |
|
|
None
|
|
None
|
appendVertex(x,
y,
z)
Appends the point to the end of the vertex list. |
|
|
None
|
|
None
|
|
None
|
appendVertices(points)
Appends the vertices to the end of the vertex list. |
|
|
FMECompositeSurface or None
|
|
FMEMultiSurface or None
|
|
tuple of float or None
|
|
list of tuple s of float s
|
getTextureCoordinates()
Retrieves the texture coordinate list with texture coordinates in the
same index position as referenced by the faces. |
|
|
list of list s of float s
|
|
tuple of float or None
|
getVertexAt(index)
Retrieve the vertex, in global coordinates (i.e., the transformation
matrix is applied, if it exists), at the specified index. |
|
|
tuple of float or None
|
getVertexNormalAt(index)
Retrieve the vertex normal, in global coordinates (i.e., the
transformation matrix is applied, if it exists), at the specified
index. |
|
|
list of tuple s of float s
|
getVertexNormals()
Retrieves the vertex normal list with vertex normals, in global
coordinates (i.e., the transformation matrix is applied, if it
exists), in the same index position as referenced by the faces. |
|
|
list of tuple s of float s
|
|
list of tuple s of float s
|
getVertices()
Retrieves the vertex list with vertices, in global coordinates (i.e.,
the transformation matrix is applied, if it exists), in the same
index position as referenced by the faces. |
|
|
list of tuple s of float s
|
|
bool
|
|
bool
|
|
bool
|
|
bool
|
|
bool
|
|
int
|
maxEdgeNumber()
Returns the maximum number of edges the mesh can contain. |
|
|
int
|
|
int
|
numVertexNormals()
Returns the number of vertex normals that are contained in this mesh. |
|
|
int
|
numVertices()
Returns the number of vertices that are contained in this mesh. |
|
|
None
|
optimizeVertexPool()
Optimizes the mesh by removing all duplicate and unreferenced
vertices, vertex normals, and texture coordinates. |
|
|
None
|
removeDegenerateTriangleMeshParts()
Removes this mesh's transformation matrix. |
|
|
None
|
removeTransformationMatrix()
Removes this mesh's transformation matrix. |
|
|
bool
|
|
None
|
setTransformationMatrix(matrix)
Sets this mesh's transformation matrix, replacing the existing matrix
if it exists. |
|
|
Inherited from FMESimpleSurface :
numParts
Inherited from FMESurface :
deleteSide ,
getAppearanceReference ,
getAsWireFrame ,
isInPlane ,
isOriented ,
isPlanar ,
offset ,
orient ,
reorient ,
reverse ,
rotate2D ,
scale ,
setAppearanceReference ,
sideExists
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__
|