from application polytope
Visualization of the Schlegel diagram of a polytope.
CONSTRUCTION()
Visualize the construction of a 3D Schlegel diagram, that is, the Viewpoint, the 3-polytope and the projection onto one facet.
Visual::Polygons::decorations
DIRECTED_GRAPH(LinearProgram lp)
Illustrate the behavior of a linear objective function on the polytope. Superpose the drawing with the directed graph induced by the objective function.
LinearProgram
lp
: a LinearProgram object attached to the polytope.
MIN_MAX_FACE(LinearProgram lp)
Illustrate the behavior of a linear objective function on the polytope. The vertices belonging to MINIMAL_FACE
and MAXIMAL_FACE
are drawn in distinct colors
LinearProgram
lp
: a LinearProgram object attached to the polytope.
Color
min
: minimal face decoration (default: yellow vertices and/or facets)
Color
max
: maximal face decoration (default: red vertices and/or facets)
SOLID()
Draw the facets of the Schlegel diagram as polytopes.
Visual::Polygons::decorations
STEINER()
UNDOCUMENTED
Visual::PointSet::decorations
TRIANGULATION_BOUNDARY()
Draw the edges of the TRIANGULATION_BOUNDARY
Visual::Graph::decorations
TRIANGULATION_BOUNDARY_SOLID()
Draw the boundary simplices of the triangulation as solid tetrahedra.
Visual::Polygons::decorations
VERTEX_COLORS(LinearProgram lp)
Illustrate the behavior of a linear objective function on the polytope. Color the vertices according to the values of the objective function.
LinearProgram
lp
: a LinearProgram object attached to the polytope.
Color
min
: minimal vertex color (default: yellow)
Color
max
: maximal vertex color (default: red)