ExtensionsGetConvexHullOfPoly Method

Returns the convex Hull of a given Polygon. Only works on closed and flattened polygons.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static IPolyClass GetConvexHullOfPoly(
	this IPolyClass this,
	out List<int> convEdges
)

Parameters

this  IPolyClass
 
convEdges  ListInt32
A list to store the indices of the edges of the polygon, which lie on the convex hull

Return Value

IPolyClass

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPolyClass. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also