Trait ggez::graphics::na::TCategory
[−]
[src]
pub trait TCategory: Send + Copy + PartialEq<Self> + Any + Debug { fn check_homogeneous_invariants<N, D>(
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool
where
D: DimName,
N: Real,
<N as ApproxEq>::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 implementable outside of the nalgebra
crate.
Required Methods
fn check_homogeneous_invariants<N, D>(
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
D: DimName,
N: Real,
<N as ApproxEq>::Epsilon: Copy,
DefaultAllocator: Allocator<N, D, D>,
mat: &Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> bool where
D: DimName,
N: Real,
<N as ApproxEq>::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
Indicates whether a Transform
with the category Self
has a bottom-row different from
0 0 .. 1
.
Implementors
impl TCategory for TAffine
impl TCategory for TGeneral
impl TCategory for TProjective