Class: Delaunay

SQR. Delaunay

Methods

(static) triangulate(vertices)

Performs Delaunay triangulation.
Parameters:
Name Type Description
vertices a list of 2d vertices. Can be SQR.V2, SQR.V3 or any object that has `x` and `y` properties. In case of a 3d vector, the `z` component is ignored.
Source:
Returns:
a list of SQR.Triangles