pub struct CopcRangeReader<S: RangeRead> { /* private fields */ }Expand description
Lazy COPC reader over a byte-range source.
Opening fetches the LAS header, the VLR section, and the root hierarchy page. Hierarchy pages for deeper subtrees are fetched only when a query’s LOD/bounds selection can reach them, and point chunks are fetched with coalesced range requests.
Implementations§
Source§impl<S: RangeRead> CopcRangeReader<S>
impl<S: RangeRead> CopcRangeReader<S>
pub fn open(source: S) -> Result<Self>
pub fn header(&self) -> &LasHeader
pub fn copc_info(&self) -> &CopcInfo
Sourcepub fn hierarchy_for(&mut self, query: PointQuery) -> Result<Vec<Entry>>
pub fn hierarchy_for(&mut self, query: PointQuery) -> Result<Vec<Entry>>
Point-data hierarchy entries matching query, loading any hierarchy
pages the query can reach that have not been fetched yet.
Sourcepub fn read_columns(
&mut self,
query: PointQuery,
selection: ColumnSelection,
) -> Result<LasColumnBatch>
pub fn read_columns( &mut self, query: PointQuery, selection: ColumnSelection, ) -> Result<LasColumnBatch>
Materialized column read over the chunks selected by query.
Sourcepub fn read_points(&mut self, query: PointQuery) -> Result<Vec<Point>>
pub fn read_points(&mut self, query: PointQuery) -> Result<Vec<Point>>
Materialized row read over the chunks selected by query.
Auto Trait Implementations§
impl<S> Freeze for CopcRangeReader<S>where
S: Freeze,
impl<S> RefUnwindSafe for CopcRangeReader<S>where
S: RefUnwindSafe,
impl<S> Send for CopcRangeReader<S>where
S: Send,
impl<S> Sync for CopcRangeReader<S>where
S: Sync,
impl<S> Unpin for CopcRangeReader<S>where
S: Unpin,
impl<S> UnsafeUnpin for CopcRangeReader<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for CopcRangeReader<S>where
S: UnwindSafe,
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