#[non_exhaustive]pub struct SampledRing {
pub curve: EntityId,
pub vertices: Vec<[f64; 2]>,
pub arcs: Vec<SampledArc>,
pub deviation: ChordDeviation,
}Expand description
One boundary curve as a ring of vertices.
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.curve: EntityIdThe boundary curve the ring was read from.
vertices: Vec<[f64; 2]>Profile 2D frame, metres, authored order, closing vertex not repeated.
arcs: Vec<SampledArc>One entry per IfcArcIndex segment, in segment order.
deviation: ChordDeviationrequested is tolerance.linear(); bound is the largest arc bound,
zero when the ring has no arcs.
Trait Implementations§
Source§impl Clone for SampledRing
impl Clone for SampledRing
Source§fn clone(&self) -> SampledRing
fn clone(&self) -> SampledRing
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 SampledRing
impl Debug for SampledRing
Source§impl PartialEq for SampledRing
impl PartialEq for SampledRing
impl StructuralPartialEq for SampledRing
Auto Trait Implementations§
impl Freeze for SampledRing
impl RefUnwindSafe for SampledRing
impl Send for SampledRing
impl Sync for SampledRing
impl Unpin for SampledRing
impl UnsafeUnpin for SampledRing
impl UnwindSafe for SampledRing
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