Skip to content

Interface: Triangulation

Defined in: geo/delaunay.ts:14

A triangulated point set.

Properties

halfedges

ts
halfedges: Int32Array;

Defined in: geo/delaunay.ts:18

Half-edge twins: halfedges[e] is the opposing half-edge, or -1 on the hull.


triangles

ts
triangles: Uint32Array;

Defined in: geo/delaunay.ts:16

Vertex indices, three per triangle, counter-clockwise.

MIT licensed. WebGL2 required.