Enum ncollide3d::shape::SegmentPointLocation [−][src]
Logical description of the location of a point on a triangle.
Variants
OnVertex(usize)
The point lies on a vertex.
The point lies on the segment interior.
Implementations
impl<N: RealField> SegmentPointLocation<N>
[src]
impl<N: RealField> SegmentPointLocation<N>
[src]pub fn barycentric_coordinates(&self) -> [N; 2]
[src]
The barycentric coordinates corresponding to this point location.
Trait Implementations
impl<N: Clone + RealField> Clone for SegmentPointLocation<N>
[src]
impl<N: Clone + RealField> Clone for SegmentPointLocation<N>
[src]fn clone(&self) -> SegmentPointLocation<N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Debug + RealField> Debug for SegmentPointLocation<N>
[src]
impl<N: Debug + RealField> Debug for SegmentPointLocation<N>
[src]impl<N: PartialEq + RealField> PartialEq<SegmentPointLocation<N>> for SegmentPointLocation<N>
[src]
impl<N: PartialEq + RealField> PartialEq<SegmentPointLocation<N>> for SegmentPointLocation<N>
[src]fn eq(&self, other: &SegmentPointLocation<N>) -> bool
[src]
fn ne(&self, other: &SegmentPointLocation<N>) -> bool
[src]
impl<N: Copy + RealField> Copy for SegmentPointLocation<N>
[src]
impl<N: RealField> StructuralPartialEq for SegmentPointLocation<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for SegmentPointLocation<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for SegmentPointLocation<N>
impl<N> Sync for SegmentPointLocation<N>
impl<N> Unpin for SegmentPointLocation<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for SegmentPointLocation<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,