Function cavalier_contours::core::math::angle_is_within_sweep_eps
source · pub fn angle_is_within_sweep_eps<T>(
test_angle: T,
start_angle: T,
sweep_angle: T,
epsilon: T
) -> boolwhere
T: Real,
Expand description
Tests if test_angle
is within the sweep_angle
starting at start_angle
.
If sweep_angle
is positive then sweep is counter clockwise, otherwise it is clockwise.
epsilon
controls the fuzzy inclusion.