#[non_exhaustive]pub enum ExactCurveParameter {
Line(RealRoot),
HalfAngle(RealRoot),
Antipode,
Certified(Isolated),
}Expand description
Where on the first curve an intersection lies, exactly.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Line(RealRoot)
A line’s own parameter t (point origin + t * direction).
HalfAngle(RealRoot)
A conic’s half-angle parameter w = tan(theta / 2).
Antipode
A conic’s point at theta = pi, where w is infinite.
Certified(Isolated)
A section-family curve’s own parameter, isolated by certified subdivision (ADR 0077) and refined to the last bits.
Implementations§
Trait Implementations§
Source§impl Clone for ExactCurveParameter
impl Clone for ExactCurveParameter
Source§fn clone(&self) -> ExactCurveParameter
fn clone(&self) -> ExactCurveParameter
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 moreSource§impl Debug for ExactCurveParameter
impl Debug for ExactCurveParameter
Source§impl PartialEq for ExactCurveParameter
impl PartialEq for ExactCurveParameter
impl Eq for ExactCurveParameter
impl StructuralPartialEq for ExactCurveParameter
Auto Trait Implementations§
impl Freeze for ExactCurveParameter
impl RefUnwindSafe for ExactCurveParameter
impl Send for ExactCurveParameter
impl Sync for ExactCurveParameter
impl Unpin for ExactCurveParameter
impl UnwindSafe for ExactCurveParameter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more