#[non_exhaustive]pub struct ProfileOutline {
pub profile: EntityId,
pub outer: Vec<[f64; 2]>,
pub inner: Vec<Vec<[f64; 2]>>,
}Expand description
An arbitrary profile’s boundaries as rings of vertices.
Coordinates are in the profile’s own 2D coordinate system, in metres.
Arbitrary profiles have no Position, so these are the curve coordinates
the file authored, converted once.
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.profile: EntityIdThe IfcProfileDef entity.
outer: Vec<[f64; 2]>OuterCurve’s vertices, in authored order, the first not repeated.
inner: Vec<Vec<[f64; 2]>>Each IfcArbitraryProfileDefWithVoids.InnerCurves ring, in file
order. Empty for an IfcArbitraryClosedProfileDef.
Trait Implementations§
Source§impl Clone for ProfileOutline
impl Clone for ProfileOutline
Source§impl Debug for ProfileOutline
impl Debug for ProfileOutline
Source§impl PartialEq for ProfileOutline
impl PartialEq for ProfileOutline
impl StructuralPartialEq for ProfileOutline
Auto Trait Implementations§
impl Freeze for ProfileOutline
impl RefUnwindSafe for ProfileOutline
impl Send for ProfileOutline
impl Sync for ProfileOutline
impl Unpin for ProfileOutline
impl UnsafeUnpin for ProfileOutline
impl UnwindSafe for ProfileOutline
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