pub struct ArcPrism {
pub section: ArcRing,
pub bottom: Scalar,
pub top: Scalar,
}Expand description
A prism whose cross-section may contain arc edges (ADR 0050).
Separate from Prism rather than replacing it: the polygon path is
exact through integer predicates, the arc path agrees with closed forms
to machine precision. Those are different guarantees, so a caller that
wants the stronger one must not be silently moved to the weaker one.
Fields§
§section: ArcRingCross-section boundary; arcs carry a non-zero bulge.
bottom: ScalarBase height along z.
top: ScalarTop height along z.
Trait Implementations§
impl StructuralPartialEq for ArcPrism
Auto Trait Implementations§
impl Freeze for ArcPrism
impl RefUnwindSafe for ArcPrism
impl Send for ArcPrism
impl Sync for ArcPrism
impl Unpin for ArcPrism
impl UnsafeUnpin for ArcPrism
impl UnwindSafe for ArcPrism
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