Crate intersect2d[][src]

Modules

algorithm

Enums

Error
Intersection

Functions

intersect

Get any intersection point between line segments. Note that this function always detects endpoint-to-endpoint intersections. Most of this is from https://stackoverflow.com/a/565282

intersect_line_point

Get any intersection point between line segment and point. Inspired by https://stackoverflow.com/a/17590923

scale_to_coordinate
to_lines

Utility function converting an array slice into a vec of Line

ulps_eq
ulps_eq_c