pub struct ThinPoint3 {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
A 3D sample point used as input to point-cloud thinning operators.
ThinPoint3 is intentionally a Plain-Old-Data struct: it carries no
auxiliary attributes (intensity, classification, …) because the thinning
operators only depend on the geometric coordinates. Callers that need to
preserve attributes typically build a parallel Vec<Attr> indexed in the
same order as their Vec<ThinPoint3> and re-index it using the order of
the returned point vector.
Fields§
§x: f64X coordinate (typically easting / planimetric east).
y: f64Y coordinate (typically northing / planimetric north).
z: f64Z coordinate (typically elevation).
Implementations§
Source§impl ThinPoint3
impl ThinPoint3
Trait Implementations§
Source§impl Clone for ThinPoint3
impl Clone for ThinPoint3
Source§fn clone(&self) -> ThinPoint3
fn clone(&self) -> ThinPoint3
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 ThinPoint3
Source§impl Debug for ThinPoint3
impl Debug for ThinPoint3
Source§impl PartialEq for ThinPoint3
impl PartialEq for ThinPoint3
Source§fn eq(&self, other: &ThinPoint3) -> bool
fn eq(&self, other: &ThinPoint3) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThinPoint3
Auto Trait Implementations§
impl Freeze for ThinPoint3
impl RefUnwindSafe for ThinPoint3
impl Send for ThinPoint3
impl Sync for ThinPoint3
impl Unpin for ThinPoint3
impl UnsafeUnpin for ThinPoint3
impl UnwindSafe for ThinPoint3
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