\(\renewcommand\AA{\unicode{x212B}}\)

BoundingBox

This is a Python binding to the C++ class Mantid::Geometry::BoundingBox.

class mantid.geometry.BoundingBox

Constructs a zero-sized box

centrePoint((BoundingBox)self) → V3D :

Returns a V3D containing the coordinates of the centre point. See mantid.kernel.V3D

doesLineIntersect((BoundingBox)self, (V3D)startPoint, (V3D)lineDir) → bool :

Returns true if the line given by the starting point & direction vector passes through the box

isNull((BoundingBox)self) → bool :

Returns true if the box has no dimensions that have been set

isPointInside((BoundingBox)self, (V3D)point) → bool :

Returns true if the given point is inside the object. See mantid.kernel.V3D

maxPoint((BoundingBox)self) → V3D :

Returns a V3D containing the values of the minimum of the box. See mantid.kernel.V3D

minPoint((BoundingBox)self) → V3D :

Returns a V3D containing the values of the minimum of the box. See mantid.kernel.V3D

width((BoundingBox)self) → V3D :

Returns a V3D containing the widths for each dimension. See mantid.kernel.V3D