from application fan
A special big object class devoted to planar unfoldings of 3-polytopes. Its main functionality is the visualization.
Scalar
: inherited from Scalar
To visualize a planar net of some Johnson solid (with flaps, such that you can print, cut and glue):
> planar_net(polytope::johnson_solid(52))->VISUAL->FLAPS;
These properties capture combinatorial information of the object. Combinatorial properties only depend on combinatorial data of the object like, e.g., the face lattice.
DUAL_TREE
The spanning tree in the DUAL_GRAPH
which defines the layout. Endoded as a list of edges, directed away from the root facet. Indices correspond to MAXIMAL_POLYTOPES
as well as FACETS
.
FLAPS
List of directed edges in the primal graph GRAPH
which need flaps for gluing. Indices correspond to VERTICES
. The orientation is chosen such that the facet in the layout is always on the left. In fact, the flaps define a spanning tree of GRAPH
.
VF_MAP
Map which tells which vertex/facet pair of the 3-polytope is mapped to which vertex of the planar net. The dependence on the facets comes from the fact that most VERTICES
occur more than once in the planar net. The inverse is VF_MAP_INV
.
VF_MAP_INV
Map which tells how the VERTICES
of the planar net are mapped to the VERTICES
of the 3-polytope. Inverse of VF_MAP
.
VIF_CYCLIC_NORMAL
Counter clockwise ordering of the VERTICES
in each MAXIMAL_POLYTOPES
. This is a copy of the property VIF_CYCLIC_NORMAL
of POLYTOPE
.
These properties capture geometric information of the object. Geometric properties depend on geometric information of the object, like, e.g., vertices or facets.
POLYTOPE
The corresponding 3-polytope.
Polytope<Scalar>
These methods are for visualization.
VISUAL()
This function is the main purpose of the entire class PlanarNet
.
Visual::Polygons::decorations