<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Convex (geoml.Geoml.Polygon.Convex)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.1.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> â€“ <a href="../../../index.html">geoml</a> &#x00BB; <a href="../../index.html">Geoml</a> &#x00BB; <a href="../index.html">Polygon</a> &#x00BB; Convex</nav><header class="odoc-preamble"><h1>Module <code><span>Polygon.Convex</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type" id="type-t" class="anchored"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> <span class="keyword">nonrec</span> t</span><span> = <span class="keyword">private</span> <a href="../index.html#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-to_list" class="anchored"><a href="#val-to_list" class="anchor"></a><code><span><span class="keyword">val</span> to_list : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../Point/index.html#type-t">Point.t</a> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-fold" class="anchored"><a href="#val-fold" class="anchor"></a><code><span><span class="keyword">val</span> fold : <span><span>( <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../Point/index.html#type-t">Point.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../Point/index.html#type-t">Point.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span> )</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-hull" class="anchored"><a href="#val-hull" class="anchor"></a><code><span><span class="keyword">val</span> hull : <span><span><a href="../../Point/index.html#type-t">Point.t</a> list</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p>hull pts returns the smallest convex polygon that contains all the points in pts</p></div></div><div class="odoc-spec"><div class="spec value" id="val-bounding" class="anchored"><a href="#val-bounding" class="anchor"></a><code><span><span class="keyword">val</span> bounding : <span><span><a href="../../Point/index.html#type-t">Point.t</a> list</span> <span class="arrow">&#45;&gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p>alias for hull</p></div></div><div class="odoc-spec"><div class="spec module" id="module-Regular" class="anchored"><a href="#module-Regular" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Regular/index.html">Regular</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Module for Regular polygons</p></div></div></div></body></html>