|
@@ -18,10 +18,11 @@
|
|
|
|
|
|
<h3>[method:Array triangulate]( data, holeIndices, dim )</h3>
|
|
|
<p>
|
|
|
- data -- A flat array of vertice coordinates.<br /><br />
|
|
|
- holeIndices -- An array of hole indices if any.<br /><br />
|
|
|
- dim -- The number of coordinates per vertice in the input array.<br /><br />
|
|
|
+ data -- A flat array of vertex coordinates.<br />
|
|
|
+ holeIndices -- An array of hole indices if any.<br />
|
|
|
+ dim -- The number of coordinates per vertex in the input array.<br /><br />
|
|
|
|
|
|
+ Triangulates the given shape definition by returning an array of triangles. A triangle is defined by three consecutive integers representing vertex indices.
|
|
|
</p>
|
|
|
|
|
|
<h2>Source</h2>
|