Trait rin::math::geometry::TCategory [−][src]
pub trait TCategory: Any + Debug + Copy + PartialEq<Self> + Send { pub fn check_homogeneous_invariants<N, D>(
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool
where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>; pub fn has_normalizer() -> bool { ... } }
Trait implemented by phantom types identifying the projective transformation type.
NOTE: this trait is not intended to be implemented outside of the nalgebra
crate.
Required methods
pub fn check_homogeneous_invariants<N, D>(
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
Checks that the given matrix is a valid homogeneous representation of an element of the
category Self
.
Provided methods
pub fn has_normalizer() -> bool
[src]
Indicates whether a Transform
with the category Self
has a bottom-row different from
0 0 .. 1
.
Implementors
impl TCategory for TAffine
[src]
impl TCategory for TAffine
[src]pub fn has_normalizer() -> bool
[src]
pub fn check_homogeneous_invariants<N, D>(
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
impl TCategory for TGeneral
[src]
impl TCategory for TGeneral
[src]pub fn check_homogeneous_invariants<N, D>(
&Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
&Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
impl TCategory for TProjective
[src]
impl TCategory for TProjective
[src]pub fn check_homogeneous_invariants<N, D>(
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
N: RealField,
D: DimName,
<N as AbsDiffEq<N>>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,