[][src]Struct implicit3d::Intersection

pub struct Intersection<S: RealField> { /* fields omitted */ }

Intersect objects.

Methods

impl<S: RealField + Float + From<f32>> Intersection<S>[src]

pub fn from_vec(v: Vec<Box<dyn Object<S>>>, r: S) -> Option<Box<dyn Object<S>>>[src]

Create an intersection of the objects in v. The intersection will be rounded, if r > 0.

pub fn difference_from_vec(
    v: Vec<Box<dyn Object<S>>>,
    r: S
) -> Option<Box<dyn Object<S>>>
[src]

Create a Difference from Vec. The resulting object is v[0] minus all the other objects. Minus is implemented as intersection with negation. The difference will be rounded, if r > 0.

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

impl<S> !UnwindSafe for Intersection<S>

impl<S> !RefUnwindSafe for Intersection<S>

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>,