Modules§
Enums§
Traits§
- Self
Intersecting Exclusive - Trait for self intersection tests where the end points are excluded
- Self
Intersecting Inclusive - Trait for self intersection tests where the end points are included
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
Deprecated - ulps_
eq_ c - returns true if the two coordinates are virtually identical