Function gaiaLineInterpolatePoint_r

Source
pub unsafe extern "C" fn gaiaLineInterpolatePoint_r(
    p_cache: *const c_void,
    ln_geom: gaiaGeomCollPtr,
    fraction: f64,
) -> gaiaGeomCollPtr
Expand description

Spatial operator: Line Interpolate Point

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param ln_geom the input Geometry object [expected to be of lineal type] \param fraction total length fraction [in the range 0.0 / 1.0]

\return the pointer to newly created Geometry object representing a Point laying on the input Geometry and positioned at the given length fraction: NULL on failure.

\sa gaiaLineInterpolatePoint, gaiaLineInterpolateEquidistantPoints, gaiaFreeGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaLineInterpolatePoint_r()\n reentrant and thread-safe.

\remark \b GEOS-ADVANCED support required.