[][src]Function spatialite_sys::gaiaRingSetPoint

pub unsafe extern "C" fn gaiaRingSetPoint(
    rng: gaiaRingPtr,
    v: c_int,
    x: f64,
    y: f64,
    z: f64,
    m: f64
) -> c_int

Sets coodinates for a Ring's Point

\param rng pointer to Ring 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 gaiaRingGetPoint, gaiaGetPoint, gaiaGetPointXYZ, gaiaSetPointXYM, gaiaSetPointXYZM

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