UNPKG

@thi.ng/geom-tessellate

Version:

2D/3D convex polygon tessellators

10 lines 382 B
import type { Tessellator } from "./api.js"; /** * Tessellates a polygon into sequence of triangles by splitting each boundary * edge and constructing 2 triangles: `amc`, `mbc`, where `a` and `b` are edge * endpoints, `m` is the edge centroid and `c` the face centroid. * * @param points */ export declare const edgeSplit: Tessellator; //# sourceMappingURL=edge-split.d.ts.map