Computes the rectangle enclosing a 2d convex hull with minimum perimeter.
Namespace:
ceometric.ComputationalGeometryAssembly: 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
Exception | Condition |
---|---|
System..::.ArithmeticException | Floating point arithmetic error. |