Computes the bounding box along the principal axes of inertia of the convex hull.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public BoundingBox PrincipalAxesBoundingBox()
Visual Basic (Declaration)
Public Function PrincipalAxesBoundingBox As BoundingBox
Visual C++
public:
BoundingBox^ PrincipalAxesBoundingBox()

Return Value

Returns the bounding box along the principal axes of inertia of the convex hull.

Remarks

The sides of the bounding box returned by this method run along the principal axes of inertia of the convex hull. In many cases, this is a very good approximate solution for the 3d convex loading problem of a set of points.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe hull has not been computed yet.

See Also