BigObject Visual::SchlegelDiagram

from application polytope

Visualization of the Schlegel diagram of a polytope.

Methods

no category

CONSTRUCTION()

Visualize the construction of a 3D Schlegel diagram, that is, the Viewpoint, the 3-polytope and the projection onto one facet.

Options:
Returns:

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.

Parameters:

LinearProgram lp: a LinearProgram object attached to the polytope.

Returns:

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

Parameters:

LinearProgram lp: a LinearProgram object attached to the polytope.

Options:

Color min: minimal face decoration (default: yellow vertices and/or facets)

Color max: maximal face decoration (default: red vertices and/or facets)

Returns:

SOLID()

Draw the facets of the Schlegel diagram as polytopes.

Options:
Returns:

STEINER()

UNDOCUMENTED

Options:

TRIANGULATION_BOUNDARY()

Draw the edges of the TRIANGULATION_BOUNDARY

Options:
Returns:

TRIANGULATION_BOUNDARY_SOLID()

Draw the boundary simplices of the triangulation as solid tetrahedra.

Options:
Returns:

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.

Parameters:

LinearProgram lp: a LinearProgram object attached to the polytope.

Options:

Color min: minimal vertex color (default: yellow)

Color max: maximal vertex color (default: red)

Returns: