[][src]Function spatialite_sys::gaiaShortestLine

pub unsafe extern "C" fn gaiaShortestLine(
    geom1: gaiaGeomCollPtr,
    geom2: gaiaGeomCollPtr
) -> gaiaGeomCollPtr

Spatial operator: Shortest Line

\param geom1 pointer to the first Geometry object. \param geom2 pointer to the second Geometry object.

\return the pointer to newly created Geometry object representing a Linestring; NULL on failure. \n the returned Linestring graphically represents the minimum distance intercurrinng between both input geometries.

\sa gaiaShortestLine_r, gaiaFreeGeomColl

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

\remark \b GEOS-ADVANCED support required.