pub enum Bisector2 {
Line(Axis2),
Pair([Axis2; 2]),
Parabola(Parabola2),
Ellipse(Ellipse2),
Hyperbola(Hyperbola2),
}Expand description
The locus of points equidistant from two targets.
Variants§
Line(Axis2)
A single line: two points, or two parallel lines.
Pair([Axis2; 2])
The two angle bisectors of intersecting lines.
Parabola(Parabola2)
Point against line, or line against circle: a parabola.
Ellipse(Ellipse2)
A point inside a circle, or nested circles: an ellipse.
Hyperbola(Hyperbola2)
A point outside a circle, or circles of unequal radius: a hyperbola.
The equidistant locus is the branch on the frame’s +x side, toward
the point, or toward the smaller circle; the mirror branch comes with
the conic but bisects nothing.
Trait Implementations§
impl Copy for Bisector2
impl StructuralPartialEq for Bisector2
Auto Trait Implementations§
impl Freeze for Bisector2
impl RefUnwindSafe for Bisector2
impl Send for Bisector2
impl Sync for Bisector2
impl Unpin for Bisector2
impl UnsafeUnpin for Bisector2
impl UnwindSafe for Bisector2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.