Function incircle

Source
pub fn incircle(a: DVec2, b: DVec2, c: DVec2, d: DVec2) -> Certified
Expand description

Is d inside the circle through a, b, c?

Sign::Positive means inside when a, b, c are counter-clockwise. Callers that cannot guarantee that orientation must normalise it first with orient2d, because the sign of this determinant flips with it.

Always Certified::Certain.