Trait nalgebra::geometry::TCategory [−][src]
pub trait TCategory: Any + Debug + Copy + PartialEq + Send { fn check_homogeneous_invariants<N: RealField, D: DimName>(
mat: &MatrixN<N, D>
) -> bool
where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>; 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
fn check_homogeneous_invariants<N: RealField, D: DimName>(
mat: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
mat: &MatrixN<N, D>
) -> bool where
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
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]fn has_normalizer() -> bool
[src]
fn check_homogeneous_invariants<N: RealField, D: DimName>(
mat: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
mat: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
impl TCategory for TGeneral
[src]
impl TCategory for TGeneral
[src]fn check_homogeneous_invariants<N: RealField, D: DimName>(
_: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
_: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
impl TCategory for TProjective
[src]
impl TCategory for TProjective
[src]fn check_homogeneous_invariants<N: RealField, D: DimName>(
mat: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
[src]
mat: &MatrixN<N, D>
) -> bool where
N::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,