diff --git a/docs/images/lib2x-polyhedron_hull-1.JPG b/docs/images/lib2x-polyhedron_hull-1.JPG new file mode 100644 index 00000000..bc3d20dd Binary files /dev/null and b/docs/images/lib2x-polyhedron_hull-1.JPG differ diff --git a/docs/lib2x-polyhedron_hull.md b/docs/lib2x-polyhedron_hull.md new file mode 100644 index 00000000..a2315584 --- /dev/null +++ b/docs/lib2x-polyhedron_hull.md @@ -0,0 +1,23 @@ +# polyhedron_hull + +Create a convex polyhedron by hulling a list of points. + +## Parameters + +- `points` : A list of 3D points. + +## Examples + + use ; + + polyhedron_hull([ + [1, 1, 1], + [1, 1, 0], + [-1, 1, 0], + [-1, -1, 0], + [1, -1, 0], + [0, 0, 1], + [0, 0, -1] + ]); + +![polyhedron_hull](images/lib2x-polyhedron_hull-1.JPG) \ No newline at end of file