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