#[non_exhaustive]pub struct CompiledPolyline {
pub curve: Option<EntityId>,
pub points: Vec<Point3>,
pub closed: bool,
pub deviation: ChordDeviation,
}Expand description
One curve of a representation as a 3D polyline.
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: Option<EntityId>The IFC curve it was compiled from, when the lowering recorded one.
points: Vec<Point3>The vertices in the curve’s direction, world coordinates in metres. A closed curve ends on the vertex it starts on.
closed: boolWhether the curve is closed: the last vertex is the first.
deviation: ChordDeviationThe chord budget asked for and the backend’s certified bound on the
distance from every point of the exact curve to the polyline, in
metres. A polyline the file authored is its own curve: bound 0.
Trait Implementations§
Source§impl Clone for CompiledPolyline
impl Clone for CompiledPolyline
Source§fn clone(&self) -> CompiledPolyline
fn clone(&self) -> CompiledPolyline
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 CompiledPolyline
impl Debug for CompiledPolyline
Source§impl PartialEq for CompiledPolyline
impl PartialEq for CompiledPolyline
impl StructuralPartialEq for CompiledPolyline
Auto Trait Implementations§
impl Freeze for CompiledPolyline
impl RefUnwindSafe for CompiledPolyline
impl Send for CompiledPolyline
impl Sync for CompiledPolyline
impl Unpin for CompiledPolyline
impl UnsafeUnpin for CompiledPolyline
impl UnwindSafe for CompiledPolyline
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