pub trait ProjectiveSpace<S, V>: VectorSpace<S>{
// Required methods
fn homography<A>(
affinity: Affinity<S, A, A, <A::Vector as Module<S>>::LinearEndo>,
) -> Projectivity<S, V, V, Self, Self, Self::LinearEndo>
where A: AffineSpace<S, Vector = V>;
fn homogeneous<A>(point_or_vector: Either<A::Point, A::Vector>) -> Self
where A: AffineSpace<S, Vector = V>,
V: GroupAction<A::Point>;
}
Expand description
Projective completion (homogeneous coordinates)
Required Methods§
Sourcefn homography<A>(
affinity: Affinity<S, A, A, <A::Vector as Module<S>>::LinearEndo>,
) -> Projectivity<S, V, V, Self, Self, Self::LinearEndo>where
A: AffineSpace<S, Vector = V>,
fn homography<A>(
affinity: Affinity<S, A, A, <A::Vector as Module<S>>::LinearEndo>,
) -> Projectivity<S, V, V, Self, Self, Self::LinearEndo>where
A: AffineSpace<S, Vector = V>,
Construct an augmented matrix for the affinity
Sourcefn homogeneous<A>(point_or_vector: Either<A::Point, A::Vector>) -> Self
fn homogeneous<A>(point_or_vector: Either<A::Point, A::Vector>) -> Self
Return the projective completion (homogeneous coordinates) of the affine point or vector
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.