pub unsafe extern "C" fn gaiaMinDistance(
x0: f64,
y0: f64,
dims: c_int,
coords: *mut f64,
vert: c_int,
) -> f64Expand description
Computes the minimum distance between a Point and a Linestring or Ring
\param x0 Point X coordinate \param y0 Point Y coordinate \param dims dimensions: one of GAIA_XY, GAIA_XY_Z, GAIA_XY_M or GAIA_XY_ZM \param coords pointed to COORD mem-array \param vert number of Points (aka Vertices) within the COORD mem-array
\return the calculated minumum distance.
\note \b dims, \b coords and \b vert are usually expected to correspond to \b DimensionModel, \b Coords and \b Points members from a gaiaLinestringStruct or gaiaRingStruct