pub enum BezierMonotoneGraphContactOrder {
NotSharedStrictlyMonotone,
Coincident,
FirstLess,
FirstGreater,
IntersectsOrTouches {
contacts: Vec<BezierGraphContact>,
spans: Vec<BezierMonotoneSpan>,
},
}Expand description
Certified order of two Bezier graph curves with represented contact kinds.
This mirrors BezierMonotoneGraphOrder but labels exact represented
same-parameter roots as crossings or tangencies. Bracket-only roots remain
spans because the current scalar root API cannot evaluate their derivative
at an exact parameter.
Variants§
The requested coordinate is not certified as one shared strictly monotone graph axis.
Coincident
The degree-normalized polynomial images are identical over the graph range.
FirstLess
The first curve is certified strictly less than the second on the other coordinate.
FirstGreater
The first curve is certified strictly greater than the second on the other coordinate.
IntersectsOrTouches
The two graphs touch or cross at retained same-parameter candidates.
Fields
contacts: Vec<BezierGraphContact>Exact represented same-parameter contacts with derivative classification.
spans: Vec<BezierMonotoneSpan>Isolating spans for roots not represented by the current scalar root API.
Trait Implementations§
Source§impl Clone for BezierMonotoneGraphContactOrder
impl Clone for BezierMonotoneGraphContactOrder
Source§fn clone(&self) -> BezierMonotoneGraphContactOrder
fn clone(&self) -> BezierMonotoneGraphContactOrder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for BezierMonotoneGraphContactOrder
impl PartialEq for BezierMonotoneGraphContactOrder
Source§fn eq(&self, other: &BezierMonotoneGraphContactOrder) -> bool
fn eq(&self, other: &BezierMonotoneGraphContactOrder) -> bool
self and other values to be equal, and is used by ==.