Struct implicit3d::Mesh [] [src]

pub struct Mesh<S: Real + 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 + Real + Float + From<f64> + From<f32>> Mesh<S>
[src]

[src]

Create a new Mesh from a STL file.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

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

[src]

Value is 0 on object surfaces, negative inside and positive outside of objects. If positive, value is guarateed to be the minimum distance to the object surface. return some approximation (which is always larger then the proper value). Only do a proper calculation, for values smaller then slack. Read more

[src]

Get the Bounding Box of this Object.

[src]

Evaluate the normal of self at the given point.

[src]

Explicitly set the Bounding Box.

[src]

Allows to set parameters.

Important traits for Box<W>
[src]

Return a translated version of self.

Important traits for Box<W>
[src]

Return a rotated version of self.

Important traits for Box<W>
[src]

Return a scaled version of self.

Auto Trait Implementations

impl<S> Send for Mesh<S>

impl<S> Sync for Mesh<S>