UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

7 lines 421 B
/** * Triangulate (or tessellate) the given polygon. Triangulation will work in any plane, contrary * to the naive Earcut implementation that does not work if all vertices are located on a vertical plane * (since the algorithm works on the XY coordinates). */ export declare function triangulate(flatCoordinates: ArrayLike<number>, holeIndices?: ArrayLike<number>): number[]; //# sourceMappingURL=tessellator.d.ts.map