Constructors
constructor
- new Delaunator(coords): Delaunator
-
Methods
_addTriangle
- _addTriangle(i0, i1, i2, a, b, c): any
-
Parameters
-
i0: any
-
i1: any
-
i2: any
-
a: any
-
b: any
-
c: any
Returns any
_hashKey
- _hashKey(x, y): number
-
Returns number
_legalize
- _legalize(a): number
-
Returns number
_link
- _link(a, b): void
-
Returns void
circumcenter
- circumcenter(ax, ay, bx, by, cx, cy): {
x: any;
y: any;
}
-
Parameters
-
ax: any
-
ay: any
-
bx: any
-
by: any
-
cx: any
-
cy: any
Returns {
x: any;
y: any;
}
getHalfedges
- getHalfedges(): any
-
Returns any
getHull
- getHull(): any
-
Returns any
getPoints
- getPoints(): any[][]
-
Returns any[][]
getTriangleIndices
- getTriangleIndices(): [number, number, number][]
-
Returns [number, number, number][]
getTriangles
- getTriangles(): any
-
Returns any
update
- update(): void
-
Returns void
Static
circumRadius
- circumRadius(p1, p2, p3): number
-
Parameters
-
p1: [number, number]
-
p2: [number, number]
-
p3: [number, number]
Returns number
Static
from
- from(points, getX?, getY?): Delaunator
-
Parameters
-
points: number[][]
-
getX: ((p) => any) = defaultGetX
-
getY: ((p) => any) = defaultGetY