pub struct CopcReader<R> { /* private fields */ }Expand description
COPC point reader owning the underlying stream.
Implementations§
Source§impl CopcReader<BufReader<File>>
impl CopcReader<BufReader<File>>
Source§impl<R: Read + Seek + Send> CopcReader<R>
impl<R: Read + Seek + Send> CopcReader<R>
pub fn file(&self) -> &CopcFile
pub fn header(&self) -> &LasHeader
pub fn copc_info(&self) -> &CopcInfo
pub fn into_inner(self) -> R
Sourcepub fn points(
&mut self,
lod: LodSelection,
bounds: BoundsSelection,
) -> Result<PointIter<'_, R>>
pub fn points( &mut self, lod: LodSelection, bounds: BoundsSelection, ) -> Result<PointIter<'_, R>>
Iterate points matching the requested LOD and bounds.
The iterator yields Result<las::Point> so IO, LAZ, and malformed-point
failures are reported to the caller instead of panicking mid-stream.
pub fn points_for_query( &mut self, query: PointQuery, ) -> Result<PointIter<'_, R>>
pub fn points_with_cancel<'a>( &'a mut self, lod: LodSelection, bounds: BoundsSelection, cancel: &'a dyn CancelCheck, ) -> Result<PointIter<'a, R>>
Auto Trait Implementations§
impl<R> Freeze for CopcReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for CopcReader<R>where
R: RefUnwindSafe,
impl<R> Send for CopcReader<R>where
R: Send,
impl<R> Sync for CopcReader<R>where
R: Sync,
impl<R> Unpin for CopcReader<R>where
R: Unpin,
impl<R> UnsafeUnpin for CopcReader<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for CopcReader<R>where
R: 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