pub struct LodNode {
pub id: NodeId,
pub parent: Option<NodeId>,
pub children: Vec<NodeId>,
pub bounds: LodBounds,
pub geometric_error: f32,
pub point_count: u64,
pub host_bytes: u64,
pub upload_bytes: u64,
pub gpu_bytes: u64,
}Expand description
One node from a persisted spatial/COPC hierarchy.
Fields§
§id: NodeIdStable identity.
parent: Option<NodeId>Parent identity; root nodes have none.
children: Vec<NodeId>Child identities.
bounds: LodBoundsWorld-space bounds.
geometric_error: f32Conservative geometric error in world units.
point_count: u64Points materialized by this node.
host_bytes: u64Estimated host bytes needed to decode this node.
upload_bytes: u64Estimated bytes uploaded for this node.
gpu_bytes: u64GPU bytes retained after upload.
Trait Implementations§
impl StructuralPartialEq for LodNode
Auto Trait Implementations§
impl Freeze for LodNode
impl RefUnwindSafe for LodNode
impl Send for LodNode
impl Sync for LodNode
impl Unpin for LodNode
impl UnsafeUnpin for LodNode
impl UnwindSafe for LodNode
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