[−][src]Struct implicit3d::Intersection
Intersect objects.
Implementations
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]
v: Vec<Box<dyn Object<S>>>,
r: S
) -> Option<Box<dyn Object<S>>>
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: Clone + RealField> Clone for Intersection<S>
[src]
fn clone(&self) -> Intersection<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug + RealField> Debug for Intersection<S>
[src]
impl<S: RealField + From<f32> + Float> Object<S> for Intersection<S>
[src]
fn approx_value(&self, p: &Point3<S>, slack: S) -> S
[src]
fn bbox(&self) -> &BoundingBox<S>
[src]
fn set_parameters(&mut self, p: &PrimitiveParameters<S>)
[src]
fn normal(&self, p: &Point3<S>) -> Vector3<S>
[src]
fn set_bbox(&mut self, _: &BoundingBox<S>)
[src]
fn translate(&self, v: &Vector3<S>) -> Box<dyn Object<S>>
[src]
fn rotate(&self, r: &Vector3<S>) -> Box<dyn Object<S>>
[src]
fn scale(&self, s: &Vector3<S>) -> Box<dyn Object<S>>
[src]
Auto Trait Implementations
impl<S> !RefUnwindSafe for Intersection<S>
impl<S> Send for Intersection<S> where
S: Scalar,
S: Scalar,
impl<S> Sync for Intersection<S> where
S: Scalar,
S: Scalar,
impl<S> Unpin for Intersection<S> where
S: Scalar + Unpin,
S: Scalar + Unpin,
impl<S> !UnwindSafe for Intersection<S>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<S, T> ObjectClone<S> for T where
S: RealField + From<f32> + Float,
T: 'static + Object<S> + Clone,
[src]
S: RealField + From<f32> + Float,
T: 'static + Object<S> + Clone,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn is_in_subset(&self) -> bool
[src]
unsafe fn to_subset_unchecked(&self) -> SS
[src]
fn from_subset(element: &SS) -> SP
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,