Antiprism 0.23
|
Make an orthibicupola. More...
#include <polygons.h>
Public Member Functions | |
orthobicupola (int N, int D=1) | |
Constructor. | |
orthobicupola (polygon &pgon) | |
Constructor. | |
void | make_poly_part (geom_if &geom) |
Make a part of (or a complete) polygon-based polyhedron. |
Make an orthibicupola.
orthobicupola::orthobicupola | ( | 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) |
orthobicupola::orthobicupola | ( | polygon & | pgon | ) | [inline] |
Constructor.
pgon | polygon to base the polyhedron on. |
void orthobicupola::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.