pub struct MeshData {
pub vertices: Vec<(f64, f64, f64)>,
pub triangles: Vec<(u32, u32, u32)>,
}Expand description
Triangulated mesh data for IFC export
Contains vertex positions and triangle indices in a format suitable for IFC TRIANGULATEDFACESET representation.
Fields§
§vertices: Vec<(f64, f64, f64)>Vertex positions as (x, y, z) tuples in meters
triangles: Vec<(u32, u32, u32)>Triangle indices (1-based for IFC) Each tuple is (v1, v2, v3) referencing vertices
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MeshData
impl RefUnwindSafe for MeshData
impl Send for MeshData
impl Sync for MeshData
impl Unpin for MeshData
impl UnsafeUnpin for MeshData
impl UnwindSafe for MeshData
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