[][src]Function spatialite_sys::gaiaLineSetPoint

pub unsafe extern "C" fn gaiaLineSetPoint(
    ln: gaiaLinestringPtr,
    v: c_int,
    x: f64,
    y: f64,
    z: f64,
    m: f64
) -> c_int

Sets coordinates for a Linestring's Point

\param ln pointer to Linestring object. \param v relative position of Point: first Point has index 0 \param x the Point's X coordinate. \param y the Point's Y coordinate. \param z the Point's Z coordinate. \param m the Point's M measure.

\return 0 on failure: any other different value on success.

\sa gaiaLineGetPoint, gaiaSetPoint, gaiaSetPointXYZ, gaiaSetPointXYM, gaiaSetPointXYZM

\note this function perform the same identical task performed by gaiaSetPoint(), gaiaSetPointXYZ(), gaiaSetPointXYM() and gaiaSetPointXYZM() macros. \n using the gaiaLineSetPoint() function is a little bit slower but is intrinsically safest, because misused macros can easily cause severe memory corruption. \n gaiaLineSetPoint() instead will always ensure that the appropriate dimensions (as declared by the Linestring object) will be correctly used.