geos.GEOSInterpolate ⇒ GEOSGeometry
⏏
Measuring from start of line, return point that is distance the start. Line parameter must be a LineString. The returned point is not guaranteed to intersect the line due to limitations of floating point calculations.
Kind: global property of geos
Returns: GEOSGeometry
- The point GEOSGeometry that is distance from the start of line. Caller takes ownership of returned geometry.
Param | Type | Description |
---|---|---|
line | GEOSGeometry | linear target of projection |
d | number | distance from start of line to created point |
geos.GEOSInterpolateNormalized ⇒ GEOSGeometry
⏏
Measuring from start of line, return point that is a proportion the start. Line parameter must be a LineString.
Kind: global property of geos
Returns: GEOSGeometry
- The point GEOSGeometry that is distance from the start of line. Caller takes ownership of returned geometry.
Param | Type | Description |
---|---|---|
line | GEOSGeometry | linear target of projection |
proportion | number | The proportion from the start of line to created point |
geos.GEOSInterpolateNormalized_r ⇒ GEOSGeometry
⏏
Measuring from start of line, return point that is a proportion the start. Line parameter must be a LineString.
Kind: global property of geos
Returns: GEOSGeometry
- The point GEOSGeometry that is distance from the start of line. Caller takes ownership of returned geometry.
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g | GEOSGeometry | linear target of projection |
d | number | The proportion from the start of line to created point |
geos.GEOSInterpolate_r ⇒ GEOSGeometry
⏏
Measuring from start of line, return point that is distance the start. Line parameter must be a LineString. The returned point is not guaranteed to intersect the line due to limitations of floating point calculations.
Kind: global property of geos
Returns: GEOSGeometry
- The point GEOSGeometry that is distance from the start of line. Caller takes ownership of returned geometry.
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
line | GEOSGeometry | linear target of projection |
d | number | distance from start of line to created point |