bounds
Calculates the bounding box of a list of indexed polygons using the specified vertex data.
Return
A Box representing the axis-aligned bounding box of the polygons. If the list is empty, returns an empty box.
Parameters
The vertex data containing the positions of the vertices referenced by the polygons.
Calculate the 3D bounding box of a list of IPolygon.
Provides the bounding box of the mesh based on its polygons and associated vertex data.
The bounding box is an axis-aligned box that encapsulates all the polygons in the mesh. It is computed using the positions in the mesh's vertex data referenced by the polygons. If the mesh contains no polygons, an empty bounding box is returned.
Receiver
The IMeshData instance for which the bounding box is calculated.
Return
A Box representing the axis-aligned bounding box of the mesh.