pub struct CopcFile { /* private fields */ }Expand description
A parsed COPC file.
Implementations§
Source§impl CopcFile
impl CopcFile
pub fn open<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn from_reader<R: Read + Seek>(reader: &mut R) -> Result<Self>
pub fn header(&self) -> &LasHeader
pub fn copc_info(&self) -> &CopcInfo
pub fn root_hierarchy(&self) -> &HierarchyPage
Sourcepub fn hierarchy_walk(&self) -> Vec<Entry>
pub fn hierarchy_walk(&self) -> Vec<Entry>
Return all parsed hierarchy entries, including recursively loaded child pages.
Sourcepub fn hierarchy(&self) -> &BTreeMap<VoxelKey, Entry>
pub fn hierarchy(&self) -> &BTreeMap<VoxelKey, Entry>
Return the full hierarchy index keyed by COPC voxel key.
pub fn hierarchy_entries(&self) -> impl Iterator<Item = &Entry>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CopcFile
impl RefUnwindSafe for CopcFile
impl Send for CopcFile
impl Sync for CopcFile
impl Unpin for CopcFile
impl UnsafeUnpin for CopcFile
impl UnwindSafe for CopcFile
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