diff --git a/src/transformer.rs b/src/transformer.rs new file mode 100644 index 0000000..edfea5f --- /dev/null +++ b/src/transformer.rs @@ -0,0 +1,13 @@ +//pub mod common; +pub mod translate; +pub mod replicate; + +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; +}