Returns a list of
- a Matrix A with the vertices of the convex hull of L in its rows
- a Matrix Adual with the vertices of the dual in its rows
- a list of lists with the faces of the convex hull sorted by increasing dimension.
Each face is a list with two elements. The first is a list of the vertices of the face, the second a list of the vertices of the dual face.
The vertices of the faces are represented by the indices of the rows of A.
This requires that the convex hull of L contains 0 in its interior.
This uses the Convex functions convHull and faces.
-- -*- M2-comint -*- {* hash: 1626964749 *} --loading configuration for package "ConvexInterface" from file /home/member/dgrayson/.Macaulay2/init-ConvexInterface.m2 --loading configuration for package "MapleInterface" from file /home/member/dgrayson/.Macaulay2/init-MapleInterface.m2 |
i1 : L={vector {1,0,0},vector {-1,0,0},vector {0,1,0},vector {0,-1,0},vector {0,0,1},vector {0,0,-1}} o1 = {| 1 |, | -1 |, | 0 |, | 0 |, | 0 |, | 0 |} | 0 | | 0 | | 1 | | -1 | | 0 | | 0 | | 0 | | 0 | | 0 | | 0 | | 1 | | -1 | o1 : List |
The object mConvexHullFacesAndDuals is a method function with options.