#[non_exhaustive]pub struct ShellFaceTriangulation {
pub points: Vec<Point2>,
pub triangles: Vec<[u32; 3]>,
pub steiner: Vec<SteinerPoint>,
}Expand description
A triangulation of a planar face of a closed shell, from
triangulate_shell_face (#283).
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.points: Vec<Point2>outer ++ holes, then each of Self::steiner at the position
its chain of midpoints gives in the plane.
triangles: Vec<[u32; 3]>Counter-clockwise triangles over Self::points.
steiner: Vec<SteinerPoint>The points added inside the face, in order: point k of these is
points[outer.len() + holes' lengths + k].
Trait Implementations§
Source§impl Clone for ShellFaceTriangulation
impl Clone for ShellFaceTriangulation
Source§impl Debug for ShellFaceTriangulation
impl Debug for ShellFaceTriangulation
Source§impl PartialEq for ShellFaceTriangulation
impl PartialEq for ShellFaceTriangulation
impl StructuralPartialEq for ShellFaceTriangulation
Auto Trait Implementations§
impl Freeze for ShellFaceTriangulation
impl RefUnwindSafe for ShellFaceTriangulation
impl Send for ShellFaceTriangulation
impl Sync for ShellFaceTriangulation
impl Unpin for ShellFaceTriangulation
impl UnsafeUnpin for ShellFaceTriangulation
impl UnwindSafe for ShellFaceTriangulation
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