[−][src]Enum ncollide_geometry::query::TetrahedronPointLocation
Logical description of the location of a point on a triangle.
Variants
OnVertex(usize)
The point lies on a vertex.
OnEdge(usize, [N; 2])
The point lies on a vertex.
OnFace(usize, [N; 3])
The point lies on a triangular face interior.
The first face is the triangle ABC. The second face is the triangle ABD. The third face is the triangle ACD. The fourth face is the triangle BDC.
OnSolid
The point lies inside of the tetrahedron.
Methods
impl<N: Real> TetrahedronPointLocation<N>
[src]
pub fn same_feature_as(&self, other: &TetrahedronPointLocation<N>) -> bool
[src]
Returns true
if both self
and other
correspond to points on the same feature of a tetrahedron.
Trait Implementations
impl<N: Copy + Real> Copy for TetrahedronPointLocation<N>
[src]
impl<N: Clone + Real> Clone for TetrahedronPointLocation<N>
[src]
fn clone(&self) -> TetrahedronPointLocation<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N: Debug + Real> Debug for TetrahedronPointLocation<N>
[src]
Auto Trait Implementations
impl<N> Send for TetrahedronPointLocation<N>
impl<N> Sync for TetrahedronPointLocation<N>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
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> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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<SS, SP> SupersetOf 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> Same for T
type Output = T
Should always be Self