Function robust_geo::sign_det_x_x2y2 [−][src]
pub fn sign_det_x_x2y2(a: Vector2<f64>, b: Vector2<f64>, c: Vector2<f64>) -> f64
Computes the determinant of the following matrix
┌─ ─┐
│ a.x a.x^2 + a.y^2 1 │
│ b.x b.x^2 + b.y^2 1 │
│ c.x c.x^2 + c.y^2 1 │
└─ ─┘
and returns a number with the same sign as the determinant, or 0 if the determinant is 0