CvInvokeConvexHull Method (PointF, Boolean) |
http://www.emgu.com
Finds convex hull of 2D point set using Sklansky's algorithm
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static PointF[] ConvexHull(
PointF[] points,
bool clockwise = false
)
Public Shared Function ConvexHull (
points As PointF(),
Optional clockwise As Boolean = false
) As PointF()
public:
static array<PointF>^ ConvexHull(
array<PointF>^ points,
bool clockwise = false
)
static member ConvexHull :
points : PointF[] *
?clockwise : bool
(* Defaults:
let _clockwise = defaultArg clockwise false
*)
-> PointF[]
Parameters
- points
- Type: System.DrawingPointF
The points to find convex hull from - clockwise (Optional)
- Type: SystemBoolean
Orientation flag. If it is true, the output convex hull is oriented clockwise. Otherwise, it is oriented counter-clockwise. The assumed coordinate system has its X axis pointing to the right, and its Y axis pointing upwards.
Return Value
Type:
PointFThe convex hull of the points
See Also