Struct tiling::model::Model [−][src]
pub struct Model { /* fields omitted */ }
Expand description
Represents a tiling composed of an arbitrary number of regular polygons.
A model is used to imperatively construct a tiling by building small patterns
of shapes that are then repeated to fill a two-dimensional space.
Use render
to render the tiling.
Use render_dual
to render the dual tiling.
Implementations
Attaches shape to every edge in edges of each shape in indexes.
Fills the rest of the surface with the pattern contained by the shapes with index in indexes.
Renders the model.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Model
impl UnwindSafe for Model