- data BoundingBox
- class Bound3D a where
- boundingBox :: a -> BoundingBox
- boundingCenterRadius :: BoundingBox -> (Point3D, RSdouble)
- minimalDistanceToBoundingBox :: Point3D -> BoundingBox -> RSdouble
Documentation
data BoundingBox Source
A simple bounding box. Operations on bounding boxes are designed to be fast, not accurate. The only guarantee on any bounding box operation is that objects reported to be outside a bounding box, are.
A convenience class for any finite geometry. In particular, it's easy to concatenate the bounding box of multiple geometries by placing them in a list and taking the bounding box of the entire list.
boundingBox :: a -> BoundingBoxSource
boundingCenterRadius :: BoundingBox -> (Point3D, RSdouble)Source
View of a bounding box in the form of a bounding spehre.
minimalDistanceToBoundingBox :: Point3D -> BoundingBox -> RSdoubleSource
Estimates distance between a point and the outside surface of a bounding box. If the value is negative, then the point lies inside the bound region.