Skip to content

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.

ParamTypeDescription
lineGEOSGeometrylinear target of projection
dnumberdistance 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.

ParamTypeDescription
lineGEOSGeometrylinear target of projection
proportionnumberThe 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.

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometrylinear target of projection
dnumberThe 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.

ParamTypeDescription
handleGEOSContextHandle_t-
lineGEOSGeometrylinear target of projection
dnumberdistance from start of line to created point