module Tile:sig
..end
type
symetries =
| |
Snone |
| |
Srotations |
| |
Sall |
type
multiplicity =
| |
Minf |
| |
Mone |
| |
Mmaybe |
type
t = private {
|
name : |
|
pattern : |
|
multiplicity : |
|
symetries : |
|
isos : |
val create : ?name:string ->
?s:symetries ->
?m:multiplicity -> Tiling.Pattern.t -> t
s
and
its multiplicity m
. s
defaults to Snone
and m
defaults
to Minf
val apply : D4.t -> t -> t
apply i t
creates a new tile by applying transformation i
to t
val print : Format.formatter -> t -> unit