diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-02-05 09:08:39 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 14:39:30 +0100 |
commit | 561d0f0155f4906d90eb7e73a3ff9cb28909126f (patch) | |
tree | 9a606c2d7832272ea33d7052512a5fa59805d582 /path/builder.mli | |
parent | 86ec559f913c389e8dc055b494630f21a45e039b (diff) |
Update project structure
Diffstat (limited to 'path/builder.mli')
-rwxr-xr-x | path/builder.mli | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/path/builder.mli b/path/builder.mli deleted file mode 100755 index 2afbd4b..0000000 --- a/path/builder.mli +++ /dev/null @@ -1,43 +0,0 @@ -(** Signature for points *) -module type P = sig - type t - - val empty : t - - val get_coord : t -> Gg.v2 - - (** Copy a point and all thoses properties to the given location *) - val copy : t -> Gg.v2 -> t - -end - -module Make(Point:P) : sig - - type t - - (** Create an empty path *) - val empty: t - - val add_point - : Point.t -> t -> t - - (** Replace the last alement in the path by the one given in parameter *) - val replace_last - : Point.t -> t -> t - - (** Retrieve the last element, if any *) - val peek - : t -> Point.t option - - (** Retrieve the last element, if any *) - val peek2 - : t -> (Point.t * Point.t) option - - (** Represent the path *) - val repr - : t -> (module Repr.M with type point = Point.t and type t = 's) -> 's -> 's - - val map - : t -> (Point.t -> Point.t) -> t - -end |