Skip to main content

point_on_segment

Function point_on_segment 

Source
pub fn point_on_segment(pt: [f64; 2], seg_a: [f64; 2], seg_b: [f64; 2]) -> bool
Expand description

Whether a point lies exactly on a line segment (within epsilon tolerance).