pub struct FlatTorus3 { /* private fields */ }Expand description
Rectangular torus with canonical representatives in [-cᵢ/2, cᵢ/2).
Implementations§
Trait Implementations§
Source§impl Clone for FlatTorus3
impl Clone for FlatTorus3
Source§fn clone(&self) -> FlatTorus3
fn clone(&self) -> FlatTorus3
Returns a duplicate 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 CoveringSpace for FlatTorus3
impl CoveringSpace for FlatTorus3
Source§impl Debug for FlatTorus3
impl Debug for FlatTorus3
Source§impl PartialEq for FlatTorus3
impl PartialEq for FlatTorus3
Source§impl QuotientSpace for FlatTorus3
impl QuotientSpace for FlatTorus3
Source§impl Space for FlatTorus3
impl Space for FlatTorus3
type Point = Vec3
type Vector = Vec3
type Frame = Quat
fn frame_at(&self, _at: Vec3) -> Quat
fn distance(&self, a: Vec3, b: Vec3) -> f32
Source§fn exp(&self, at: Vec3, v: Vec3) -> Vec3
fn exp(&self, at: Vec3, v: Vec3) -> Vec3
Advances for unit time along the geodesic with initial velocity
v.fn log(&self, from: Vec3, to: Vec3) -> Vec3
fn parallel_transport(&self, _from: Vec3, _to: Vec3, v: Vec3) -> Vec3
Source§fn is_chart_flat(&self) -> bool
fn is_chart_flat(&self) -> bool
True when chart arithmetic respects the global geometry, including identifications.
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: Vec3) -> bool
fn valid_point(&self, p: Vec3) -> bool
Finite, inside the chart, and within
Self::chart_envelope of the origin.Source§impl WgslSpace for FlatTorus3
impl WgslSpace for FlatTorus3
Source§fn wgsl_impl(&self) -> Cow<'static, str>
fn wgsl_impl(&self) -> Cow<'static, str>
Emits
loam_distance, loam_origin_distance, loam_exp, loam_log, loam_geodesic_step, and LOAM_MAX_ARC over the space’s point type.fn wgsl_accuracy(&self) -> WgslAccuracy
impl Copy for FlatTorus3
impl StructuralPartialEq for FlatTorus3
Auto Trait Implementations§
impl Freeze for FlatTorus3
impl RefUnwindSafe for FlatTorus3
impl Send for FlatTorus3
impl Sync for FlatTorus3
impl Unpin for FlatTorus3
impl UnsafeUnpin for FlatTorus3
impl UnwindSafe for FlatTorus3
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