pub trait Transform {
// Required methods
fn apply(&self, p: (f64, f64)) -> (f64, f64);
fn apply_inverse(&self, p: (f64, f64)) -> (f64, f64);
fn inverse_exists(&self) -> bool;
}
pub trait Transform {
// Required methods
fn apply(&self, p: (f64, f64)) -> (f64, f64);
fn apply_inverse(&self, p: (f64, f64)) -> (f64, f64);
fn inverse_exists(&self) -> bool;
}