geos.js
Version:
an easy-to-use JavaScript wrapper over WebAssembly build of GEOS
16 lines (13 loc) • 479 B
text/typescript
export interface DensifyOptions {
/**
* Optional fraction by which densify each line segment.
*
* Each segment will be split into a number of equal-length subsegments, whose
* fraction of the total length is closest to the given fraction.
* Value of `0.25` means that each segment will be split into four equal length
* subsegments.
*
* The closer to `0` the better the approximation of the distance.
*/
densify?: number;
}