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.
See also PointCloudReaderSimple::spherical_to_cartesian
and PointCloudReaderSimple::cartesian_to_spherical.
spherical: SphericalCoordinateSpherical coordinates.
Might be always invalid if the point cloud does only contain Cartesian coordinates.
By default spherical coordinates are converted to Cartesian coordinates.
See also PointCloudReaderSimple::spherical_to_cartesian
and PointCloudReaderSimple::cartesian_to_spherical.
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.
See also PointCloud::has_color and Color.
intensity: Option<f32>Floating point intensity value.
When reading, the intensity is by default normalized to values between 0 and 1.
The normalization is done using the intensity limits of the point cloud being read.
If there are no intensity limits, the min and max values of the intensity record type are used as fallback.
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.
See also PointCloud::has_intensity and
PointCloud::intensity_limits and
PointCloudReaderSimple::normalize_intensity
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.
See also PointCloud::has_row_column.
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.
See also PointCloud::has_row_column.