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