Struct ncollide3d::query::LocalShapeApproximation [−][src]
pub struct LocalShapeApproximation<N: RealField> { pub feature: FeatureId, pub point: Point<N>, pub geometry: NeighborhoodGeometry<N>, }
The approximation of a shape on the neighborhood of a point.
Fields
feature: FeatureId
The shape feature the point lies on.
point: Point<N>
The point where approximation is computed.
geometry: NeighborhoodGeometry<N>
The approximation geometry.
Implementations
impl<N: RealField> LocalShapeApproximation<N>
[src]
impl<N: RealField> LocalShapeApproximation<N>
[src]pub fn new(
feature: FeatureId,
point: Point<N>,
geometry: NeighborhoodGeometry<N>
) -> Self
[src]
feature: FeatureId,
point: Point<N>,
geometry: NeighborhoodGeometry<N>
) -> Self
Initializes a new local shape approximation at point
.
Trait Implementations
impl<N: Clone + RealField> Clone for LocalShapeApproximation<N>
[src]
impl<N: Clone + RealField> Clone for LocalShapeApproximation<N>
[src]fn clone(&self) -> LocalShapeApproximation<N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Debug + RealField> Debug for LocalShapeApproximation<N>
[src]
impl<N: Debug + RealField> Debug for LocalShapeApproximation<N>
[src]impl<N: Copy + RealField> Copy for LocalShapeApproximation<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for LocalShapeApproximation<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for LocalShapeApproximation<N>
impl<N> Sync for LocalShapeApproximation<N>
impl<N> Unpin for LocalShapeApproximation<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for LocalShapeApproximation<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,