pub struct CopcQuery {
pub bounds: CopcBounds,
pub max_resolution: Option<f64>,
pub max_level: Option<i32>,
}Expand description
Spatial query parameters for partial COPC reads.
Fields§
§bounds: CopcBoundsRegion of interest.
max_resolution: Option<f64>Optional target point spacing in file units (typically meters).
max_level: Option<i32>Optional explicit maximum octree level. Overrides max_resolution when set.
Implementations§
Source§impl CopcQuery
impl CopcQuery
Sourcepub fn bounds(bounds: CopcBounds) -> Self
pub fn bounds(bounds: CopcBounds) -> Self
Creates a bounds-only query at full available detail inside the region.
Sourcepub fn with_resolution(bounds: CopcBounds, max_resolution: f64) -> Self
pub fn with_resolution(bounds: CopcBounds, max_resolution: f64) -> Self
Creates a bounds query limited by target point spacing.
Sourcepub fn with_level(bounds: CopcBounds, max_level: i32) -> Self
pub fn with_level(bounds: CopcBounds, max_level: i32) -> Self
Creates a bounds query limited by explicit octree level.
Trait Implementations§
impl Copy for CopcQuery
impl StructuralPartialEq for CopcQuery
Auto Trait Implementations§
impl Freeze for CopcQuery
impl RefUnwindSafe for CopcQuery
impl Send for CopcQuery
impl Sync for CopcQuery
impl Unpin for CopcQuery
impl UnsafeUnpin for CopcQuery
impl UnwindSafe for CopcQuery
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