cloudViewer.geometry.GenericMesh#
- class cloudViewer.geometry.GenericMesh#
GenericMesh class. Triangle mesh contains vertices. Optionally, the mesh may also contain vertex normals and vertex colors.
- __init__(*args, **kwargs)#
- get_bbox_corner(self)#
Returns the mesh bounding-box.
- Returns:
tuple[typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”], typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]]
- get_next_triangle(self)#
Returns the next triangle (relatively to the global iterator position).
- Returns:
cloudViewer::GenericTriangle
- has_triangles(self)#
Returns whether triangles are empty.
- Returns:
bool
- place_iterator_at_beginning(self)#
Places the mesh iterator at the beginning.
- Returns:
None
- size(self)#
Returns the number of triangles.
- Returns:
int