pub struct Manifold(/* private fields */);Expand description
Manifold rust wrapper for C++ manifold object.
Implementations§
Source§impl Manifold
impl Manifold
Sourcepub fn cylinder(
radius_low: f64,
radius_high: f64,
height: f64,
segments: u32,
) -> Self
pub fn cylinder( radius_low: f64, radius_high: f64, height: f64, segments: u32, ) -> Self
Create a cylinder manifold.
Sourcepub fn intersection(&self, b: &Self) -> Self
pub fn intersection(&self, b: &Self) -> Self
Get the intersection of two manifolds.
Sourcepub fn difference(&self, b: &Self) -> Self
pub fn difference(&self, b: &Self) -> Self
Get the difference of two manifolds.
pub fn boolean_op(&self, b: &Self, op: BooleanOp) -> Self
pub fn from_mesh(mesh: Mesh) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Manifold
impl RefUnwindSafe for Manifold
impl !Send for Manifold
impl !Sync for Manifold
impl Unpin for Manifold
impl UnwindSafe for Manifold
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