pub fn orientation_index( ax: f64, ay: f64, bx: f64, by: f64, px: f64, py: f64 ) -> GResult<Orientation>