C# Class FarseerPhysics.Common.ConvexHull.GiftWrap

Giftwrap convex hull algorithm. O(nh) time complexity, where n is the number of points and h is the number of points on the convex hull. See http://en.wikipedia.org/wiki/Gift_wrapping_algorithm for more details.
Mostrar archivo Open project: prime31/Nez

Public Methods

Method Description
getConvexHull ( Vertices vertices ) : Vertices

Returns the convex hull from the given vertices.

Method Details

getConvexHull() public static method

Returns the convex hull from the given vertices.
public static getConvexHull ( Vertices vertices ) : Vertices
vertices Vertices The vertices.
return Vertices