◆ faceSize()
| number MeshTopology::faceSize |
( |
| ) |
|
returns the number of face records including invalid ones
◆ findHoleRepresentiveEdges()
| Uint32Array MeshTopology::findHoleRepresentiveEdges |
( |
| ) |
|
returns one edge with no valid left face for every boundary in the mesh; if region is given, then returned edges must have valid right faces from the region
◆ findNumHoles()
| number MeshTopology::findNumHoles |
( |
| ) |
|
returns the number of hole loops in the mesh;
- Parameters
-
| holeRepresentativeEdges | optional output of the smallest edge id with no valid left face in every hole |
◆ getLeftTriVerts()
| Uint32Array MeshTopology::getLeftTriVerts |
( |
number | a | ) |
|
gets 3 vertices of the left face ( face-id may not exist, but the shape must be triangular) the vertices are returned in counter-clockwise order if look from mesh outside: v0 = org( a ), v1 = dest( a )
◆ getTriangulation()
returns three vertex ids for valid triangles (which can be accessed by FaceId), vertex ids for invalid triangles are undefined, and shall not be read
◆ getTriVerts()
| Uint32Array MeshTopology::getTriVerts |
( |
number | f | ) |
|
gets 3 vertices of given triangular face; the vertices are returned in counter-clockwise order if look from mesh outside
◆ getValidFaces()
returns cached set of all valid faces
◆ getValidVerts()
returns cached set of all valid vertices
The documentation for this class was generated from the following file: