Enum nalgebra::geometry::TProjective
source · pub enum TProjective {}
Expand description
Tag representing the most general inversible Transform
type.
Trait Implementations§
source§impl Clone for TProjective
impl Clone for TProjective
source§fn clone(&self) -> TProjective
fn clone(&self) -> TProjective
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TProjective
impl Debug for TProjective
source§impl Hash for TProjective
impl Hash for TProjective
source§impl PartialEq for TProjective
impl PartialEq for TProjective
source§fn eq(&self, other: &TProjective) -> bool
fn eq(&self, other: &TProjective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TCategory for TProjective
impl TCategory for TProjective
source§fn check_homogeneous_invariants<T: RealField, D: DimName>(
mat: &OMatrix<T, D, D>
) -> bool
fn check_homogeneous_invariants<T: RealField, D: DimName>( mat: &OMatrix<T, D, D> ) -> bool
Checks that the given matrix is a valid homogeneous representation of an element of the
category
Self
.source§fn has_normalizer() -> bool
fn has_normalizer() -> bool
Indicates whether a
Transform
with the category Self
has a bottom-row different from
0 0 .. 1
.source§impl TCategoryMul<TAffine> for TProjective
impl TCategoryMul<TAffine> for TProjective
§type Representative = TProjective
type Representative = TProjective
The transform category that results from the multiplication of a
Transform<Self>
to a
Transform<Other>
. This is usually equal to Self
or Other
, whichever is the most
general category.source§impl TCategoryMul<TGeneral> for TProjective
impl TCategoryMul<TGeneral> for TProjective
§type Representative = TGeneral
type Representative = TGeneral
The transform category that results from the multiplication of a
Transform<Self>
to a
Transform<Other>
. This is usually equal to Self
or Other
, whichever is the most
general category.source§impl TCategoryMul<TProjective> for TAffine
impl TCategoryMul<TProjective> for TAffine
§type Representative = TProjective
type Representative = TProjective
The transform category that results from the multiplication of a
Transform<Self>
to a
Transform<Other>
. This is usually equal to Self
or Other
, whichever is the most
general category.source§impl TCategoryMul<TProjective> for TGeneral
impl TCategoryMul<TProjective> for TGeneral
§type Representative = TGeneral
type Representative = TGeneral
The transform category that results from the multiplication of a
Transform<Self>
to a
Transform<Other>
. This is usually equal to Self
or Other
, whichever is the most
general category.impl Copy for TProjective
impl Eq for TProjective
impl StructuralEq for TProjective
impl StructuralPartialEq for TProjective
impl SuperTCategoryOf<TAffine> for TProjective
impl SuperTCategoryOf<TProjective> for TGeneral
Auto Trait Implementations§
impl RefUnwindSafe for TProjective
impl Send for TProjective
impl Sync for TProjective
impl Unpin for TProjective
impl UnwindSafe for TProjective
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.source§impl<T> TCategoryMul<T> for Twhere
T: TCategory,
impl<T> TCategoryMul<T> for Twhere
T: TCategory,
§type Representative = T
type Representative = T
The transform category that results from the multiplication of a
Transform<Self>
to a
Transform<Other>
. This is usually equal to Self
or Other
, whichever is the most
general category.