Function cavalier_contours::polyline::pline_seg_intr
source · pub fn pline_seg_intr<T>(
v1: PlineVertex<T>,
v2: PlineVertex<T>,
u1: PlineVertex<T>,
u2: PlineVertex<T>,
pos_equal_eps: T
) -> PlineSegIntr<T>where
T: Real,
Expand description
Finds the intersects between two polyline segments.
Segments are defined by v1->v2
and u1->u2
. pos_equal_eps
is used for fuzzy float
comparisons.