[][src]Function spatialite_sys::gaiaAzimuth

pub unsafe extern "C" fn gaiaAzimuth(
    xa: f64,
    ya: f64,
    xb: f64,
    yb: f64,
    azimuth: *mut f64
) -> c_int

Utility function: Azimuth

\param xa the X coordinate of PointA. \param ya the Y coordinate of PointA. \param xb the X ccordinate of PointB. \param yb the Y coordinate of PointB. \param azimuth on completion this variable will contain the angle in radians from the horizontal of the vector defined by pointA and pointB. \n Angle is computed clockwise from down-to-up: on the clock: 12=0; 3=PI/2; 6=PI; 9=3PI/2.

\return 0 on failure: any other value on success

\sa gaiaProjectedPoint

\remark \b LWGEOM support required.