geos.GEOSLineSubstring ⇒ GEOSGeometry ⏏
Computes the line which is the section of the input LineString starting and ending at the given length fractions.
Kind: global property of geos
Returns: GEOSGeometry - selected substring. Caller is responsible for freeing with GEOSGeom_destroy()
| Param | Type | Description |
|---|---|---|
| g | GEOSGeometry | The input LineString |
| start_fraction | number | start fraction (0-1) along the length of g |
| end_fraction | number | end fraction (0-1) along the length of g |
geos.GEOSLineSubstring_r ⇒ GEOSGeometry ⏏
Computes the line which is the section of the input LineString starting and ending at the given length fractions.
Kind: global property of geos
Returns: GEOSGeometry - selected substring. Caller is responsible for freeing with GEOSGeom_destroy()
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| g | GEOSGeometry | The input LineString |
| start_fraction | number | start fraction (0-1) along the length of g |
| end_fdraction | number | end fraction (0-1) along the length of g |