Class: ConvexHull

SQR.ConvexHull()

new ConvexHull()

Source:

Methods

(static) compute(p, h) → {Array}

Parameters:
Name Type Description
p Array

array of SQR.V2 or any objects that have a x and y property.

h Array

the array to store the result in. If omitted, new one is created.

Source:
Returns:

array of SQR.V2 containing ordered points that make the convexhull.

Type
Array