I have the following convex hull:
X = {{0, 0, 0}, {0, 0, 0.285957}, {0, 0.285957, 0.285957}, {0, 0.381238,
0.190619}, {0, 0.571914, 0}, {0.190676, 0.381238,
0.190619}, {0.285957, 0.285957, 0.285957}, {0.571914, 0,
0}, {0.571914, 0, 0.285957}}
ConvexHullMesh[X, Axes -> True, AxesLabel -> {a1, a2, a3},
Boxed -> True, PlotTheme -> "Monochrome",
ViewPoint -> {-1.6717420364862037`, 2.6135645953045867`,
1.3507622550305927`}]
which plots,
I would like to find a matrix with the vertice number of each side of the hull. For example
0 0 0 -> is 0
0 0 0.285957 -> is 1
0 0.285957 0.285957 -> is 2
0 0.3812378724 0.1906189362 -> is 3
0 0.571914 0 -> is 4
0.1906761276 0.3812378724 0.1906189362 -> is 5
0.285957 0.285957 0.285957 -> is 6
0.571914 0 0 -> is 7
0.571914 0 0.285957 -> is 8
each row in the following matrix corresponds with a side of the convex hull,
8 7 0 1 8
7 8 6 4 7
4 2 1 0 4
6 8 1 2 6
4 6 2 4 4
4 7 0 4 4
How could I get this last matrix number from a set of coordinates X
?.