pub struct Triangle {
pub vertices: [usize; 3],
pub polygon: Polygon,
pub quality: Option<f64>,
}Expand description
A triangle in the triangulation
Fields§
§vertices: [usize; 3]Indices of the three vertices
polygon: PolygonTriangle polygon
quality: Option<f64>Triangle quality (0-1, higher is better)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Triangle
impl RefUnwindSafe for Triangle
impl Send for Triangle
impl Sync for Triangle
impl Unpin for Triangle
impl UnsafeUnpin for Triangle
impl UnwindSafe for Triangle
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