Package empro :: Module empro :: Module geometry :: Class TriangleMesh
[frames] | no frames]

Class TriangleMesh

Instance Methods
BoundingBox3D
boundingBox()
The bounding box.
bool
build(iTriangles)
Builds a triangle mesh based on a list of triangles.
list[MeshFacet]
facetList()
List of all the resulting facets.
list[Vector3d]
normalList()
List of all the unique normals in the triangle list.
list[Vector3d]
vertexList()
List of all the unique vertices in the triangle list.
Method Details

build(iTriangles)

 

Builds a triangle mesh based on a list of triangles.

Parameters:
  • iTriangles (list[Triangle]) - The list of triangles that define the mesh.
Returns: bool