RandomPolyhedron

RandomPolyhedron[spec]

gives a pseudorandom polyhedron with the specified specification spec.

RandomPolyhedron[spec,k]

gives a list of k pseudorandom polyhedra.

Details and Options

Examples

open all close all

Basic Examples  (2)

Generate a random convex hull polyhedron:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Generate a list of random polyhedra:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Compute the volume:

In[3]:=
Click for copyable input
Out[3]=

Scope  (4)

Options  (2)

Applications  (3)

Properties & Relations  (5)

Neat Examples  (1)

Introduced in 2019
(12.0)