Computes the maximum width of a 2d convex hull.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
C# |
---|
public Edge MaximumWidth() |
Visual Basic (Declaration) |
---|
Public Function MaximumWidth As Edge |
Visual C++ |
---|
public: Edge^ MaximumWidth() |
Return Value
Returns an edge along the maximum width of a 2d convex hull.
Remarks
The maximum width of a 2d convex hull is defined as the maximum distance between two
parallel lines of support. The computation takes O(n) time with n being the number of vertices of
the 2d convex hull.