[][src]Function spatialite_sys::gaiaLineInterpolateEquidistantPoints_r

pub unsafe extern "C" fn gaiaLineInterpolateEquidistantPoints_r(
    p_cache: *const c_void,
    ln_geom: gaiaGeomCollPtr,
    distance: f64
) -> gaiaGeomCollPtr

Spatial operator: Line Interpolate Equidistant Points

\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 distance regular distance between interpolated points

\return the pointer to newly created Geometry object representing a MultiPoint; such MultiPoint always supports the M coordinate (the corresponding value representing the progressive distance for each interpolated Point). individual Points will be regularly spaced by the given distance: NULL on failure.

\sa gaiaLineInterpolateEquidistantPoints, gaiaLineInterpolatePoint, gaiaFreeGeomColl

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

\remark \b GEOS-ADVANCED support required.