[][src]Struct implicit3d::Mesh

pub struct Mesh<S: RealField + Debug> { /* fields omitted */ }

Mesh generates an implicit function from a 3d object mesh. Warning! This primitive is currently horribly inefficient. That is, for each point it iterates over all faces and finds the closest. This implementation desperately needs some performance improvements, e.g. kd-tree support or similar.

Methods

impl<S: Debug + RealField + Float + From<f64> + From<f32>> Mesh<S>[src]

pub fn try_new(stl_filename: &str) -> Result<Self>[src]

Create a new Mesh from a STL file.

Trait Implementations

impl<S: RealField + Float + From<f64> + From<f32>> Object<S> for Mesh<S>[src]

impl<S: Clone + RealField + Debug> Clone for Mesh<S>[src]

impl<S: PartialEq + RealField + Debug> PartialEq<Mesh<S>> for Mesh<S>[src]

impl<S: Debug + RealField> Debug for Mesh<S>[src]

impl<S: RealField + Debug> StructuralPartialEq for Mesh<S>[src]

Auto Trait Implementations

impl<S> Send for Mesh<S> where
    S: Scalar

impl<S> Sync for Mesh<S> where
    S: Scalar

impl<S> Unpin for Mesh<S> where
    S: Scalar + Unpin

impl<S> UnwindSafe for Mesh<S> where
    S: Scalar + UnwindSafe

impl<S> RefUnwindSafe for Mesh<S> where
    S: RefUnwindSafe + Scalar

Blanket Implementations

impl<S, T> ObjectClone<S> for T where
    S: From<f32> + RealField + Float,
    T: 'static + Object<S> + Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,