pub fn reference_clearance(piece: &PathPiece, reference: DVec3) -> f64
The smallest angle between reference and the line of the tangent over the piece, in [0, pi/2]. Zero where the frame degenerates.
reference
[0, pi/2]