pub struct Point<'m> { /* private fields */ }Expand description
A geometric point (CARTESIAN_POINT).
Implementations§
Source§impl<'m> Point<'m>
impl<'m> Point<'m>
Sourcepub fn key(&self) -> EntityKey
pub fn key(&self) -> EntityKey
This point’s global identity (a Copy key for maps / deduplication).
Sourcepub fn xyz(&self) -> [f64; 3]
pub fn xyz(&self) -> [f64; 3]
The point’s coordinates (x, y[, z]).
The coordinates as a 3-vector, missing components padded with 0.0 —
the form every consumer wants (see Point::coords for the raw slice).
pub fn coords(&self) -> &'m [f64]
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for Point<'m>
impl<'m> RefUnwindSafe for Point<'m>
impl<'m> Send for Point<'m>
impl<'m> Sync for Point<'m>
impl<'m> Unpin for Point<'m>
impl<'m> UnsafeUnpin for Point<'m>
impl<'m> UnwindSafe for Point<'m>
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