Expand description
Constructors§
§new TriangulatorPoints(): TriangulatorPoints
new TriangulatorPoints(): TriangulatorPoints
Methods§
Source§buildMesh(
geojson: FeatureCollection,
origin: number[],
): [ILayerGeometry[], ILayerComponent[]]
buildMesh(
geojson: FeatureCollection,
origin: number[],
): [ILayerGeometry[], ILayerComponent[]]
Builds a mesh from GeoJSON features representing points.
Source§multiPointToMesh(
feature: Feature,
origin: number[],
): { flatCoords: number[]; flatIds: number[] }[]
multiPointToMesh(
feature: Feature,
origin: number[],
): { flatCoords: number[]; flatIds: number[] }[]
Converts a MultiPoint feature to a mesh representation.
Class for triangulating points from GeoJSON features. It provides methods to convert different geometry types into point meshes.