BoundingBox

class pmeshlab.BoundingBox
__init__(self: pmeshlab.BoundingBox) None

Creates an invalid Bounding Box (min: [1,1,1], max:[-1,-1,-1]).

center(self: pmeshlab.BoundingBox) numpy.ndarray[numpy.float64[3, 1]]

Returns the center point coordinate of the Bounding Box.

diagonal(self: pmeshlab.BoundingBox) float

Returns the diagonal of the Bounding Box.

dim_x(self: pmeshlab.BoundingBox) float

Returns the X size of the Bounding Box.

dim_y(self: pmeshlab.BoundingBox) float

Returns the Y size of the Bounding Box.

dim_z(self: pmeshlab.BoundingBox) float

Returns the Z size of the Bounding Box.

max(self: pmeshlab.BoundingBox) numpy.ndarray[numpy.float64[3, 1]]

Returns the max coordinate of the Bounding Box.

min(self: pmeshlab.BoundingBox) numpy.ndarray[numpy.float64[3, 1]]

Returns the min coordinate of the Bounding Box.