Function cavalier_contours::core::math::bulge_from_angle
source · pub fn bulge_from_angle<T>(angle: T) -> Twhere
T: Real,
Expand description
Returns the bulge for the given arc sweep_angle
.
By definition bulge = tan(arc_sweep_angle / 4)
.
Note if angle
is negative then bulge returned will be negative (clockwise arc).