Skip to main content

insphere

Function insphere 

Source
pub fn insphere(a: Point3, b: Point3, c: Point3, d: Point3, e: Point3) -> f64
Expand description

Exact in-sphere test for five 3D points.

Returns a positive value if e lies inside the circumsphere of (a, b, c, d) (when a, b, c, d have positive orientation), negative if outside, zero if on the sphere.