STEINERPOLYTOPE Create a steiner polytope from a set of vectors.
[VERTICES FACES] = steinerPolygon(VECTORS)
Creates the Steiner polytope defined by the set of vectors VECTORS.
Example
% Creates and display a planar Steiner polytope (ie, a polygon)
[v f] = steinerPolytope([1 0;0 1;1 1]);
fillPolygon(v);
% Creates and display a 3D Steiner polytope
[v f] = steinerPolytope([1 0 0;0 1 0;0 0 1;1 1 1]);
drawMesh(v, f);
view(3); axis vis3d
See also
meshes3d, drawMesh, steinerPolygon, mergeCoplanarFaces
Package: matgeom