Skip to main content

point_near_line

Function point_near_line 

Source
pub fn point_near_line(
    point: Pos2,
    line_start: Pos2,
    line_end: Pos2,
    tolerance: f32,
) -> bool
Expand description

Helper function to check if a point is near a line segment