#[non_exhaustive]pub struct LayerBoundaries {
pub normal: [f64; 3],
pub boundaries: Vec<f64>,
pub order: Vec<usize>,
}Expand description
The boundary planes of a layer stack along a LayerSetReference normal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.normal: [f64; 3]Unit normal of the planes, object frame.
boundaries: Vec<f64>n + 1 signed distances along normal, metres, non-decreasing (equal
where a layer is zero-thick).
order: Vec<usize>order[k] is the index in IfcMaterialLayerSet.MaterialLayers of the
layer between boundaries[k] and boundaries[k + 1].
Trait Implementations§
Source§impl Clone for LayerBoundaries
impl Clone for LayerBoundaries
Source§fn clone(&self) -> LayerBoundaries
fn clone(&self) -> LayerBoundaries
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayerBoundaries
impl Debug for LayerBoundaries
Source§impl From<&LayerBoundaries> for LayerCut
impl From<&LayerBoundaries> for LayerCut
Source§fn from(bounds: &LayerBoundaries) -> Self
fn from(bounds: &LayerBoundaries) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayerBoundaries
impl PartialEq for LayerBoundaries
impl StructuralPartialEq for LayerBoundaries
Auto Trait Implementations§
impl Freeze for LayerBoundaries
impl RefUnwindSafe for LayerBoundaries
impl Send for LayerBoundaries
impl Sync for LayerBoundaries
impl Unpin for LayerBoundaries
impl UnsafeUnpin for LayerBoundaries
impl UnwindSafe for LayerBoundaries
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