Beloch.SheetThe sheet a program folds (def-sheet): the unfolded state it starts from and the outline of that state, in paper coordinates.
type side = Geom.point * Geom.pointtype t = {start : Fold_state.t;the unfolded state the program starts from
*)outline : side list;the sides of the sheet's boundary, counter-clockwise, paper space
*)joins : int list;the creases whose flat hinges only divide the sheet into convex faces: no crease of the sheet, written as FOLD join edges
*)}val square_corners : Num.t -> Geom.point arrayval on_boundary : t -> Geom.point -> Geom.point -> boolval point_at : side -> Num.t -> Geom.pointval sides_of : Geom.point array -> side listval boundary_sides : Geom.point array list -> side listval merge_convex :
Geom.point array ->
Geom.point array ->
Geom.point array optionval restrict_mark :
Geom.point array list ->
Fold_state.mark ->
Fold_state.mark optionval trim :
Fold_state.t ->
int list ->
folded:(int -> bool) ->
(t, [ `Hole ]) Stdlib.result