Enum cavalier_contours::polyline::PlineSegIntr
source · pub enum PlineSegIntr<T>where
T: Real,{
NoIntersect,
TangentIntersect {
point: Vector2<T>,
},
OneIntersect {
point: Vector2<T>,
},
TwoIntersects {
point1: Vector2<T>,
point2: Vector2<T>,
},
OverlappingLines {
point1: Vector2<T>,
point2: Vector2<T>,
},
OverlappingArcs {
point1: Vector2<T>,
point2: Vector2<T>,
},
}
Expand description
Holds the result of finding the intersect between two polyline segments.
Variants§
NoIntersect
No intersects found.
TangentIntersect
One tangent intersect point found.
OneIntersect
One non-tangent intersect point found.
TwoIntersects
Fields
Simple case of two intersect points found.
OverlappingLines
Fields
Polyline segments are both lines and they overlap.
OverlappingArcs
Fields
Polyline segments are both arcs and they overlap.
Trait Implementations§
source§impl<T> Clone for PlineSegIntr<T>where
T: Real + Clone,
impl<T> Clone for PlineSegIntr<T>where T: Real + Clone,
source§fn clone(&self) -> PlineSegIntr<T>
fn clone(&self) -> PlineSegIntr<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more