<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ellipse (geoml.Geoml__.Ellipse)</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__</a> &#x00BB; Ellipse</nav><h1>Module <code>Geoml__.Ellipse</code></h1></header><aside><p>Ellipses manipulation</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = <span class="keyword">private</span> </code><code>{</code><table class="record"><tr id="type-t.f1" class="anchored"><td class="def field"><a href="#type-t.f1" class="anchor"></a><code>f1 : <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a>;</code></td></tr><tr id="type-t.f2" class="anchored"><td class="def field"><a href="#type-t.f2" class="anchor"></a><code>f2 : <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a>;</code></td></tr><tr id="type-t.radius" class="anchored"><td class="def field"><a href="#type-t.radius" class="anchor"></a><code>radius : float;</code></td></tr><tr id="type-t.big_axis" class="anchored"><td class="def field"><a href="#type-t.big_axis" class="anchor"></a><code>big_axis : float;</code></td></tr><tr id="type-t.small_axis" class="anchored"><td class="def field"><a href="#type-t.small_axis" class="anchor"></a><code>small_axis : float;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-make_bifocal"><a href="#val-make_bifocal" class="anchor"></a><code><span class="keyword">val</span> make_bifocal : <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-focal1"><a href="#val-focal1" class="anchor"></a><code><span class="keyword">val</span> focal1 : <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-focal2"><a href="#val-focal2" class="anchor"></a><code><span class="keyword">val</span> focal2 : <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-center"><a href="#val-center" class="anchor"></a><code><span class="keyword">val</span> center : <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-radius"><a href="#val-radius" class="anchor"></a><code><span class="keyword">val</span> radius : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float</code></dt><dt class="spec value" id="val-big_axis"><a href="#val-big_axis" class="anchor"></a><code><span class="keyword">val</span> big_axis : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float</code></dt><dt class="spec value" id="val-small_axis"><a href="#val-small_axis" class="anchor"></a><code><span class="keyword">val</span> small_axis : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float</code></dt><dt class="spec value" id="val-rotate"><a href="#val-rotate" class="anchor"></a><code><span class="keyword">val</span> rotate : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>radian rotation. rotate e p f returns the rotated ellipse with p as the rotation center and f a angle in radian</p></dd></dl><dl><dt class="spec value" id="val-rotate_angle"><a href="#val-rotate_angle" class="anchor"></a><code><span class="keyword">val</span> rotate_angle : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>degree rotation. rotate e p f returns the rotated ellipse with p as the rotation center and f a angle in degree</p></dd></dl><dl><dt class="spec value" id="val-translate"><a href="#val-translate" class="anchor"></a><code><span class="keyword">val</span> translate : float <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-scale_x"><a href="#val-scale_x" class="anchor"></a><code><span class="keyword">val</span> scale_x : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-scale_y"><a href="#val-scale_y" class="anchor"></a><code><span class="keyword">val</span> scale_y : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-contains"><a href="#val-contains" class="anchor"></a><code><span class="keyword">val</span> contains : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../../Geoml/Point/index.html#type-t">Geoml.Point.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-area"><a href="#val-area" class="anchor"></a><code><span class="keyword">val</span> area : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float</code></dt></dl></div></body></html>