1 2 3 4 5 6 7 8 9 10 11
pub mod lattice; use crate::Coordinate; pub trait PointSet { type Index; fn index_iter(&self) -> Box<dyn Iterator<Item = Self::Index>>; fn index_to_coordinate(&self, index: &Self::Index) -> Coordinate; fn bounding_box(&self) -> Coordinate; }