pub enum LodSelection {
All,
Resolution(f64),
Level(i32),
LevelMinMax(i32, i32),
}
Expand description
Limits the octree levels to be queried in order to have a point cloud with the requested resolution.
resolution: Limits the octree levels to be queried in order to have a point cloud with the requested resolution.
- The unit is the one of the data.
- If absent, the resulting cloud will be at the full resolution offered by the COPC source
level: The level of detail (LOD).
If absent, all LOD are going to be considered
Variants§
All
Full resolution (all LODs)
Resolution(f64)
requested minimal resolution of point cloud given as space between points based on the spacing given in the copc info vlr defined as root-node side length / number of points in root node when traversing the octree levels the spacing of level i is copc_spacing*2^-i
Tldr; higher value -> fewer points / cube unit
Level(i32)
only points that that are of the requested LOD will be returned.
LevelMinMax(i32, i32)
points for which the LOD is within the range will be returned.