Antiprism 0.23
Public Member Functions

gyrobicupola Class Reference

Make a gyrobicupola. More...

#include <polygons.h>

Inheritance diagram for gyrobicupola:
Inheritance graph
[legend]
Collaboration diagram for gyrobicupola:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Make a gyrobicupola.


Constructor & Destructor Documentation

gyrobicupola::gyrobicupola ( int  N,
int  D = 1 
) [inline]

Constructor.

Base polygon in form {N/D} (with N/D not necessarily in lowest form.)

Parameters:
Nnumber of sides to the (compound) polygon.
Dthe number of vertices stepped by an edge (default 1)
gyrobicupola::gyrobicupola ( polygon pgon) [inline]

Constructor.

Parameters:
pgonpolygon to base the polyhedron on.

Member Function Documentation

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.

Parameters:
geoma geometry to return the polyhedron.

Reimplemented from cupola.


The documentation for this class was generated from the following files: