Antiprism 0.23
|
Make a gyrobicupola. More...
#include <polygons.h>
Public Member Functions | |
gyrobicupola (int N, int D=1) | |
Constructor. | |
gyrobicupola (polygon &pgon) | |
Constructor. | |
void | make_poly_part (geom_if &geom) |
Make a part of (or a complete) polygon-based polyhedron. |
Make a gyrobicupola.
gyrobicupola::gyrobicupola | ( | int | N, |
int | D = 1 |
||
) | [inline] |
Constructor.
Base polygon in form {N/D} (with N/D not necessarily in lowest form.)
N | number of sides to the (compound) polygon. |
D | the number of vertices stepped by an edge (default 1) |
gyrobicupola::gyrobicupola | ( | polygon & | pgon | ) | [inline] |
Constructor.
pgon | polygon to base the polyhedron on. |
void gyrobicupola::make_poly_part | ( | geom_if & | geom | ) | [virtual] |
Make a part of (or a complete) polygon-based polyhedron.
Make a non-compound polyhedron, using num_sides
and step
for {n/d}. If parts
is greater than 1
then polygon::make_poly will make a compound by repeating this polyhedron parts
times.
geom | a geometry to return the polyhedron. |
Reimplemented from cupola.