Trait alga::linear::ProjectiveTransformation

source ·
pub trait ProjectiveTransformation<E: EuclideanSpace>: MultiplicativeGroup + Transformation<E> {
    // Required methods
    fn inverse_transform_point(&self, pt: &E) -> E;
    fn inverse_transform_vector(&self, v: &E::Coordinates) -> E::Coordinates;
}
Expand description

The most general form of invertible transformations on an euclidean space.

Required Methods§

source

fn inverse_transform_point(&self, pt: &E) -> E

Applies this group’s two_sided_inverse action on a point from the euclidean space.

source

fn inverse_transform_vector(&self, v: &E::Coordinates) -> E::Coordinates

Applies this group’s two_sided_inverse action on a vector from the euclidean space.

If v is a vector and a, b two point such that v = a - b, the action on a vector is defined as self ∘ v = (self × a) - (self × b).

Object Safety§

This trait is not object safe.

Implementors§