turf.tin
How Turf.js runs Delaunay Triangulation: turf.tin.
| Engine | Turf.js |
|---|---|
| Tool name | turf.tin |
| Interface | js |
| Implements | Delaunay Triangulation |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | From @turf/tin. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
points | FeatureCollection<Point, any> | yes | Not stated | Not stated | Not stated |
z | string | no | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | points | Not stated |
tolerance | Not stated | always 0 |
Differences from the operation
- z names a property whose values become the triangles' a, b and c properties.
- Turf works on GeoJSON in longitude/latitude (WGS 84); data in another CRS must be reprojected first.
Harvested by the turf harvester from engine version
7.4.0. Names can change when an engine is harvested again.