pub struct Polyline {
pub points: Vec<[f32; 3]>,
pub closed: bool,
pub manifold: bool,
}Expand description
One chain of the intersection: a closed loop or an open polyline, in A’s
space (B placed by the query’s Rigid).
Fields§
§points: Vec<[f32; 3]>The chain’s points. A closed polyline’s last point joins back to the first (not repeated); an open one’s has one fewer segment than points.
closed: boolWhether the last point joins back to the first.
manifold: boolWhether no end of the polyline is a junction where three or more segments meet. Chains always end at junctions; a closed polyline is manifold.
Trait Implementations§
impl StructuralPartialEq for Polyline
Auto Trait Implementations§
impl Freeze for Polyline
impl RefUnwindSafe for Polyline
impl Send for Polyline
impl Sync for Polyline
impl Unpin for Polyline
impl UnsafeUnpin for Polyline
impl UnwindSafe for Polyline
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