geos.GEOSDensify ⇒ GEOSGeometry
⏏
Densifies a geometry using a given distance tolerance. Additional vertices will be added to every line segment that is greater this tolerance; these vertices will evenly subdivide that segment. Only linear components of input geometry are densified.
Kind: global property of geos
Returns: GEOSGeometry
- The densified geometry, or NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
Param | Type | Description |
---|---|---|
g | GEOSGeometry | The geometry to densify |
tolerance | number | the distance tolerance to densify |
geos.GEOSDensify_r ⇒ GEOSGeometry
⏏
Densifies a geometry using a given distance tolerance. Additional vertices will be added to every line segment that is greater this tolerance; these vertices will evenly subdivide that segment. Only linear components of input geometry are densified.
Kind: global property of geos
Returns: GEOSGeometry
- The densified geometry, or NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g | GEOSGeometry | The geometry to densify |
tolerance | number | the distance tolerance to densify |