Type Alias nalgebra::geometry::Similarity3

source ·
pub type Similarity3<T> = Similarity<T, UnitQuaternion<T>, 3>;
Expand description

A 3-dimensional similarity.

Aliased Type§

struct Similarity3<T> {
    pub isometry: Isometry<T, Unit<Quaternion<T>>, 3>,
    /* private fields */
}

Fields§

§isometry: Isometry<T, Unit<Quaternion<T>>, 3>

The part of this similarity that does not include the scaling factor.

Trait Implementations§

source§

impl TryFrom<DMat4> for Similarity3<f64>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(mat4: DMat4) -> Result<Similarity3<f64>, ()>

Performs the conversion.
source§

impl TryFrom<Mat4> for Similarity3<f32>

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(mat4: Mat4) -> Result<Similarity3<f32>, ()>

Performs the conversion.