pub struct ConicPoint { /* private fields */ }Expand description
One exact intersection point of two conics.
Implementations§
Source§impl ConicPoint
impl ConicPoint
Sourcepub fn is_tangent(&self) -> bool
pub fn is_tangent(&self) -> bool
Whether the conics are tangent here (intersection multiplicity at least two), decided exactly.
Sourcepub fn sign_of_conic(&self, other: &Conic) -> Sign
pub fn sign_of_conic(&self, other: &Conic) -> Sign
Exact sign of the conic other at this point: zero on it, and for
a circle or ellipse negative inside, positive outside.
Sourcepub fn side_of_line(&self, a: Point2, b: Point2) -> Sign
pub fn side_of_line(&self, a: Point2, b: Point2) -> Sign
Exact side of the directed line a -> b: positive to the left.
Trait Implementations§
Source§impl Clone for ConicPoint
impl Clone for ConicPoint
Source§fn clone(&self) -> ConicPoint
fn clone(&self) -> ConicPoint
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 ConicPoint
impl Debug for ConicPoint
Source§impl PartialEq for ConicPoint
impl PartialEq for ConicPoint
impl Eq for ConicPoint
impl StructuralPartialEq for ConicPoint
Auto Trait Implementations§
impl Freeze for ConicPoint
impl RefUnwindSafe for ConicPoint
impl Send for ConicPoint
impl Sync for ConicPoint
impl Unpin for ConicPoint
impl UnwindSafe for ConicPoint
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