pub struct LensSpace { /* private fields */ }Expand description
Lens space with z₁ = x + iy, z₂ = z + iw and deck action (z₁, z₂) ↦ (e^(2πi/p) z₁, e^(2πiq/p) z₂).
Implementations§
Source§impl LensSpace
impl LensSpace
Trait Implementations§
Source§impl CoveringSpace for LensSpace
impl CoveringSpace for LensSpace
Source§impl QuotientSpace for LensSpace
impl QuotientSpace for LensSpace
Source§impl Space for LensSpace
impl Space for LensSpace
type Point = Vec4
type Vector = Vec4
type Frame = Iso4
fn frame_at(&self, at: Vec4) -> Iso4
fn distance(&self, a: Vec4, b: Vec4) -> f32
Source§fn exp(&self, at: Vec4, v: Vec4) -> Vec4
fn exp(&self, at: Vec4, v: Vec4) -> Vec4
Advances for unit time along the geodesic with initial velocity
v.fn log(&self, from: Vec4, to: Vec4) -> Vec4
fn parallel_transport(&self, from: Vec4, to: Vec4, v: Vec4) -> Vec4
Source§fn chart_envelope(&self) -> f32
fn chart_envelope(&self) -> f32
Geodesic distance from the chart origin beyond which
Self::valid_point refuses a point.Source§fn valid_point(&self, p: Vec4) -> bool
fn valid_point(&self, p: Vec4) -> bool
Finite, inside the chart, and within
Self::chart_envelope of the origin.Source§fn parallel_transport_along(
&self,
path: &[Self::Point],
v: Self::Vector,
) -> Self::Vector
fn parallel_transport_along( &self, path: &[Self::Point], v: Self::Vector, ) -> Self::Vector
Composes transport along consecutive points; fewer than two points leave
v unchanged.Source§fn is_chart_flat(&self) -> bool
fn is_chart_flat(&self) -> bool
True when chart arithmetic respects the global geometry, including identifications.
impl Copy for LensSpace
impl Eq for LensSpace
impl StructuralPartialEq for LensSpace
Auto Trait Implementations§
impl Freeze for LensSpace
impl RefUnwindSafe for LensSpace
impl Send for LensSpace
impl Sync for LensSpace
impl Unpin for LensSpace
impl UnsafeUnpin for LensSpace
impl UnwindSafe for LensSpace
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