homography/
interface.rs

1use nalgebra::{ArrayStorage, Matrix, Vector, U2, U9};
2
3pub trait Vectorizable<T, D, S> {
4    fn to_vector(&self) -> Vector<T, D, S>;
5}
6
7pub type Matrix2x9<T> = Matrix<T, U2, U9, ArrayStorage<T, 2, 9>>;
8
9pub trait WithRestriction<T> {
10    fn generate_restriction(&self) -> Matrix2x9<T>;
11}