2023-06-06 09:32:05 +00:00
|
|
|
//pub mod common;
|
2023-06-06 09:44:33 +00:00
|
|
|
mod translate;
|
|
|
|
mod replicate;
|
2023-06-06 09:32:05 +00:00
|
|
|
|
|
|
|
use crate::point::Point;
|
|
|
|
|
|
|
|
// re-export transformers to be abe to use it directly from transformer::
|
|
|
|
pub use translate::Translate;
|
|
|
|
pub use replicate::Replicate;
|
|
|
|
|
|
|
|
pub trait Transformers {
|
|
|
|
fn apply(&self, point_list: &[Point]) -> Vec<Point>;
|
|
|
|
}
|