Computes the rectangle enclosing a 2d convex hull with minimum perimeter.

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

Syntax

C#
public BoundingRectangle MinimumPerimeterEnclosingRectangle()
Visual Basic (Declaration)
Public Function MinimumPerimeterEnclosingRectangle As BoundingRectangle
Visual C++
public:
BoundingRectangle^ MinimumPerimeterEnclosingRectangle()

Return Value

Returns a bounding rectangle enclosing a 2d convex hull with minimum perimeter.

Remarks

The bounding rectangle is computed in O(n) time with n being the number of vertices of the convex hull.

Exceptions

ExceptionCondition
System..::.ArithmeticExceptionFloating point arithmetic error.

See Also