pub struct CopcReader { /* private fields */ }Expand description
Reads point clouds from COPC files.
Implementations§
Source§impl CopcReader
impl CopcReader
Sourcepub fn open(path: impl AsRef<Path>) -> Result<Self, IoError>
pub fn open(path: impl AsRef<Path>) -> Result<Self, IoError>
Opens a COPC file and parses its header eagerly.
Sourcepub fn file_info(&self) -> &CopcFileInfo
pub fn file_info(&self) -> &CopcFileInfo
Returns COPC header metadata parsed at open time.
Sourcepub fn root_bounds(&self) -> CopcBounds
pub fn root_bounds(&self) -> CopcBounds
Returns the root octree bounds for this file.
Sourcepub fn read_query(&mut self, query: &CopcQuery) -> Result<PointCloud, IoError>
pub fn read_query(&mut self, query: &CopcQuery) -> Result<PointCloud, IoError>
Reads points matching a spatial query.
Trait Implementations§
Source§impl PointReader for CopcReader
impl PointReader for CopcReader
Auto Trait Implementations§
impl Freeze for CopcReader
impl RefUnwindSafe for CopcReader
impl Send for CopcReader
impl Sync for CopcReader
impl Unpin for CopcReader
impl UnsafeUnpin for CopcReader
impl UnwindSafe for CopcReader
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