<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>BSpline (geoml.Geoml__Curve.BSpline)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> â€“ <a href="../../index.html">geoml</a> &#x00BB; <a href="../index.html">Geoml__Curve</a> &#x00BB; BSpline</nav><h1>Module <code>Geoml__Curve.BSpline</code></h1></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.degre" class="anchored"><td class="def field"><a href="#type-t.degre" class="anchor"></a><code>degre : int;</code></td></tr><tr id="type-t.knots" class="anchored"><td class="def field"><a href="#type-t.knots" class="anchor"></a><code>knots : <span>float array</span>;</code></td></tr><tr id="type-t.nb" class="anchored"><td class="def field"><a href="#type-t.nb" class="anchor"></a><code>nb : int;</code></td></tr><tr id="type-t.control" class="anchored"><td class="def field"><a href="#type-t.control" class="anchor"></a><code>control : <span><a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> list</span>;</code></td></tr></table><code>}</code></dt><dd><p>This module provides basic operations over B-spline curves</p></dd></dl><dl><dt class="spec value" id="val-make"><a href="#val-make" class="anchor"></a><code><span class="keyword">val</span> make : <span><a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> list</span> <span>&#45;&gt;</span> <span>float array</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>make pts k, makes a B-spline with pts the control points and k the knots Array</p></dd></dl><dl><dt class="spec value" id="val-make_eq"><a href="#val-make_eq" class="anchor"></a><code><span class="keyword">val</span> make_eq : <span><a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> list</span> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>make_eq pts nb_knots, makes a cardinal B-spline with a constant separation, 1/(nb_knots-1), between knots</p></dd></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val</span> start : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a></code></dt><dt class="spec value" id="val-ending"><a href="#val-ending" class="anchor"></a><code><span class="keyword">val</span> ending : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a></code></dt><dt class="spec value" id="val-equation"><a href="#val-equation" class="anchor"></a><code><span class="keyword">val</span> equation : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a></code></dt><dt class="spec value" id="val-points"><a href="#val-points" class="anchor"></a><code><span class="keyword">val</span> points : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int <span>&#45;&gt;</span> <span><a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> list</span></code></dt></dl></div></body></html>