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 streaming;
12
13pub use bounds::Bounds;
14pub use cancel::{CancelCheck, NeverCancel};
15pub use columns::{
16    layout_for_las_format, scan_angle_rank_from_degrees, ColumnData, ColumnSelection, ColumnSpec,
17    ColumnView, LasColumnBatch, LasDimension, ScalarType,
18};
19pub use error::{Error, Result};
20pub use hierarchy::{Entry, EntryAvailability, HierarchyPage, VoxelKey, HIERARCHY_ENTRY_BYTES};
21pub use info::CopcInfo;
22pub use streaming::{deserialize_le, serialize_le, LasPointRecord, StreamingLayout};