From 9a82b9901bb135c1c6e2abff050bef24d2cda466 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sat, 1 May 2021 09:37:02 +0800 Subject: [PATCH] update readme --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eaaabbed..03c8ecb2 100644 --- a/README.md +++ b/README.md @@ -345,4 +345,20 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp [**maze/mz_square_initialize**(rows, columns, mask)](https://openhome.cc/eGossip/OpenSCAD/lib3x-mz_square_initialize.html) | a helper for initializing cell data of a maze. [**maze/mz_hamiltonian**(rows, columns, start = [0, 0], seed = undef)](https://openhome.cc/eGossip/OpenSCAD/lib3x-mz_hamiltonian.html) | create a hamiltonian path from a maze. [**maze/mz_theta_cells**(rows, beginning_number, start = [0, 0], seed = undef)](https://openhome.cc/eGossip/OpenSCAD/lib3x-mz_theta_cells.html) | return cell data of a theta maze. -[**maze/mz_theta_get**(cell, query)](https://openhome.cc/eGossip/OpenSCAD/lib3x-mz_theta_get.html) | a helper for getting data from a theta-maze cell. \ No newline at end of file +[**maze/mz_theta_get**(cell, query)](https://openhome.cc/eGossip/OpenSCAD/lib3x-mz_theta_get.html) | a helper for getting data from a theta-maze cell. + +---- + +# Preview + +## Triangle + + Signature | Description +--|-- +**tri_circumcenter**(shape_pts) | return the circumcenter of a triangle. +**tri_incenter**(shape_pts) | return the incenter of a triangle. +**tri_ear_clipping**(shape_pts, ret = "TRI_INDICES", ...) | triangulate a simple polygon. +**tri_delaunay**(points, ret = "TRI_INDICES") | return the delaunay triangulation of the points. +**tri_delaunay_indices**(d) | return triangle indices from a delaunay object. +**tri_delaunay_shapes**(d) | return triangle shapes from a delaunay object. +**tri_delaunay_voronoi**(d) | return voronoi cells from a delaunay object. \ No newline at end of file