pub struct Point {
pub cartesian: CartesianCoordinate,
pub spherical: SphericalCoordinate,
pub color: Option<Color>,
pub intensity: Option<f32>,
pub row: i64,
pub column: i64,
}Expand description
Represents a high level point with its different attributes.
Fields§
§cartesian: CartesianCoordinateCartesian coordinates. Might be always invalid if the point cloud does only contain spherical coordinates and the automatic conversion from spherical to Cartesian is disabled.
spherical: SphericalCoordinateSpherical coordinates. Might be always invalid if the point cloud does only contain Cartesian coordinates.
color: Option<Color>RGB point colors. None means the whole point cloud has no colors or the color of this individual point is invalid. Please check the point cloud properties to understand whether the point cloud in general has color or not.
intensity: Option<f32>Floating point intensity value between 0 and 1. None means the whole point cloud has no intensity or the intensity of this individual point is invalid. Please check the point cloud properties to understand whether the point cloud in general has intensity or not.
row: i64Row index (Y-axis) to describe point data in a 2D image-like grid. Default value for point clouds without row index will be -1. Since this cannot be invalid for individual points, its not an option. Please check the point cloud properties to understand if the points have a row index or not.
column: i64Column index (X-axis) to describe point data in a 2D image-like grid. Default value for point clouds without column index will be -1. Since this cannot be invalid for individual points, its not an option. Please check the point cloud properties to understand if the points have a column index or not.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)