Struct implicit3d::Bender [] [src]

pub struct Bender<S: Real> { /* fields omitted */ }

Bender create an implicit function that represents a bended version of it's input. The object will be bend around the Z-Axis. E.g. bending a cylinder along the X-Axis (and translated away from the Z-Axis) will result in a Torus.

Methods

impl<S: Real + Float + FloatConst + From<f32>> Bender<S>
[src]

Important traits for Box<W>
[src]

Create a new bent object. o: Object to be bent, w: width (x) for one full rotation

Trait Implementations

impl<S: Clone + Real> Clone for Bender<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 for Bender<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S: Real + From<f32> + Float + FloatConst> Object<S> for Bender<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]

Allows to set parameters.

[src]

Evaluate the normal of self at the given point.

[src]

Explicitly set the Bounding Box.

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 Bender<S>

impl<S> Sync for Bender<S>