#[non_exhaustive]pub struct PipePlan {
pub pieces: Vec<PathPiece>,
pub closed: bool,
pub arc_mitres: Vec<ArcMitre>,
pub twist: Scalar,
}Expand description
How swept_disk_along_pieces and swept_disk_along_loop sweep a
directrix (#248): what a caller needs to bound the parts of the mesh no
construction proof covers.
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.pieces: Vec<PathPiece>The pieces swept, fillets included.
closed: boolWhether the last piece joins the first.
arc_mitres: Vec<ArcMitre>Every corner mitred beside an arc, in joint order.
twist: ScalarFor a loop, the angle in (-pi, pi] about the first piece’s start
tangent by which a frame carried once round the loop comes back
turned (its holonomy); the pipe turns its frames back by it,
uniformly over the loop’s clear length (see the module notes). Zero
for an open directrix.
Trait Implementations§
impl StructuralPartialEq for PipePlan
Auto Trait Implementations§
impl Freeze for PipePlan
impl RefUnwindSafe for PipePlan
impl Send for PipePlan
impl Sync for PipePlan
impl Unpin for PipePlan
impl UnsafeUnpin for PipePlan
impl UnwindSafe for PipePlan
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