pub struct ConvexMesh {
pub vertices: Vec<Point3>,
pub triangles: Vec<u32>,
}Fields§
§vertices: Vec<Point3>§triangles: Vec<u32>Implementations§
Source§impl ConvexMesh
impl ConvexMesh
Source§impl ConvexMesh
impl ConvexMesh
pub fn new( points: &[Point3], ) -> Result<(ConvexMesh, ConvexHullConstructState), ConvexHullConstructError>
Trait Implementations§
Source§impl Default for ConvexMesh
impl Default for ConvexMesh
Source§fn default() -> ConvexMesh
fn default() -> ConvexMesh
Returns the “default value” for a type. Read more
Source§impl From<ConvexMesh> for ConvexMesh
impl From<ConvexMesh> for ConvexMesh
Source§fn from(v: ConvexMesh) -> Self
fn from(v: ConvexMesh) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConvexMesh
impl RefUnwindSafe for ConvexMesh
impl Send for ConvexMesh
impl Sync for ConvexMesh
impl Unpin for ConvexMesh
impl UnwindSafe for ConvexMesh
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