Beloch.Isometry
Exact 2D isometry: an orthogonal 2×2 matrix (det ±1) plus a translation, all in Num. Used to place each face of the paper onto the table.
Num
type t = {
m00 : Num.t;
m01 : Num.t;
m10 : Num.t;
m11 : Num.t;
tx : Num.t;
ty : Num.t;
}
val identity : t
val apply_point : t -> Geom.point -> Geom.point
val compose : t -> t -> t
val det_sign : t -> int
val inverse : t -> t
val reflect_across_line : Geom.line -> t