diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-17 13:56:00 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2020-12-17 13:56:00 +0100 |
commit | 20d10a93e5becb41d1145f9d35136782365b0ba4 (patch) | |
tree | cb4e78c05ec538a3f47ba37231b705b713219a11 /curves/bspline.mli | |
parent | 4f262d6540281487f79870aff589ca92f5d2f6c6 (diff) |
Refactor
Diffstat (limited to 'curves/bspline.mli')
-rwxr-xr-x | curves/bspline.mli | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/curves/bspline.mli b/curves/bspline.mli deleted file mode 100755 index 074658d..0000000 --- a/curves/bspline.mli +++ /dev/null @@ -1,24 +0,0 @@ -type t - -type err = - [ `InvalidPath (* Too few points in the path for building the curve *) - ] - -(** Convert a list of points into a beziers curves. - - At least 4 points are required for building the path. - - [to_bezier ~connexion points] create a list of beziers segments joining all - the points together. - - [connexion0] add a virtual point in the begining for helping to get the - appropriate tangent when connecting path together - - [connexion1] does the same at the end - -*) -val to_bezier - : ?connexion0:Gg.v2 - -> ?connexion1:Gg.v2 - -> Gg.v2 list - -> (Bezier.t array, [> err]) Result.t |