pub enum CentreCurve {
Arc {
from: Vec3,
axis: Vec3,
angle: f64,
},
Circle {
axis: Vec3,
polar: f64,
},
Point(Vec3),
}Expand description
A curve the ball centres’ directions run on the unit sphere.
Variants§
Arc
From the unit direction from turned right-handed about the unit
axis (square to from) by angle: a great-circle arc.
Circle
The whole circle of the directions at the angle polar from the unit
axis.
Point(Vec3)
One direction.
Implementations§
Trait Implementations§
Source§impl Clone for CentreCurve
impl Clone for CentreCurve
Source§fn clone(&self) -> CentreCurve
fn clone(&self) -> CentreCurve
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CentreCurve
Auto Trait Implementations§
impl Forget for CentreCurve
impl Freeze for CentreCurve
impl Move for CentreCurve
impl RefUnwindSafe for CentreCurve
impl Send for CentreCurve
impl Sync for CentreCurve
impl Unpin for CentreCurve
impl UnsafeUnpin for CentreCurve
impl UnwindSafe for CentreCurve
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