Skip to main content

copc_core/
lib.rs

1//! Shared COPC types used by `copc-reader` and `copc-writer`.
2
3#![forbid(unsafe_code)]
4
5pub mod bounds;
6pub mod cancel;
7pub mod columns;
8pub mod error;
9pub mod hierarchy;
10pub mod info;
11pub mod limits;
12pub mod streaming;
13
14pub use bounds::Bounds;
15pub use cancel::{CancelCheck, NeverCancel};
16pub use columns::{
17    layout_for_las_format, ColumnData, ColumnSelection, ColumnSpec, ColumnView, LasColumnBatch,
18    LasDimension, ScalarType,
19};
20pub use error::{Error, Result};
21pub use hierarchy::{Entry, EntryAvailability, HierarchyPage, VoxelKey, HIERARCHY_ENTRY_BYTES};
22pub use info::CopcInfo;
23pub use limits::{MAX_EVLR_COUNT, MAX_VLR_COUNT};
24pub use streaming::{
25    deserialize_le, deserialize_le_into, serialize_le, LasPointRecord, StreamingLayout,
26};