cloudViewer.geometry.GenericIndexedMesh#
- class cloudViewer.geometry.GenericIndexedMesh#
GenericIndexedMesh with index-based vertex access.
- __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
- get_next_vertice_indexes(self)#
Returns the indexes of the vertices of the next triangle (relatively to the global iterator position).
- Returns:
cloudViewer.geometry.VerticesIndexes
- get_triangle(self, triangle_index)#
Returns the ith triangle.
- Parameters:
triangle_index (SupportsInt) –
- Returns:
cloudViewer.geometry.GenericTriangle
- get_triangle_vertices(self, triangle_index)#
Returns the vertices of a given triangle.
- Parameters:
triangle_index (SupportsInt) –
- Returns:
tuple[typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”], typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”], typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]]
- get_vertice_indexes(self, triangle_index)#
Returns the indexes of the vertices of a given triangle.
- Parameters:
triangle_index (SupportsInt) –
- Returns:
cloudViewer.geometry.VerticesIndexes
- 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