POLYGON.
More...
#include <ppm.hxx>


Public Member Functions | |
| void | append (POLYGON_VERTEX *pv) |
Appends the POLYGON. | |
| POLYGON * | copy () |
Copies the POLYGON. | |
| int | count () |
| Returns the count. | |
| POLYGON_VERTEX * | first () |
Returns the first POLYGON. | |
| void | insert (POLYGON_VERTEX *poly, POLYGON_VERTEX *key, logical check=FALSE) |
Inserts the POLYGON. | |
| POLYGON_VERTEX * | last () |
Returns the last POLYGON. | |
| POLYGON * | next () |
Returns the next POLYGON. | |
| POLYGON (VERTEX_TEMPLATE *_node_template=0) | |
C++ constructor, creating a POLYGON using the specified parameters. | |
| void | prepend (POLYGON_VERTEX *pv) |
Prepends the POLYGON. | |
| void | print (FILE *fp) |
Prints the POLYGON. | |
| POLYGON_VERTEX * | remove () |
Removes the POLYGON. | |
| logical | search (POLYGON_VERTEX *key) |
| Performs a search. | |
| void | set_vertex_template (VERTEX_TEMPLATE *_node_template) |
| Sets the vertex template. | |
| unsigned | size () |
| Returns the size of the polygon. | |
| void | transform (SPAtransf const &T) |
Transforms the POLYGON. | |
| VERTEX_TEMPLATE * | vertex_template () |
| Returns the vertex template. | |
| ~POLYGON () | |
C++ destructor, deleting a POLYGON. | |
POLYGON.
| POLYGON::POLYGON | ( | VERTEX_TEMPLATE * | _node_template = 0 |
) |
C++ constructor, creating a POLYGON using the specified parameters.
| _node_template | vertex template - node template. |
| POLYGON::~POLYGON | ( | ) |
C++ destructor, deleting a POLYGON.
| void POLYGON::append | ( | POLYGON_VERTEX * | pv | ) |
| int POLYGON::count | ( | ) |
Returns the count.
| POLYGON_VERTEX* POLYGON::first | ( | ) | [inline] |
Returns the first POLYGON.
| void POLYGON::insert | ( | POLYGON_VERTEX * | poly, | |
| POLYGON_VERTEX * | key, | |||
| logical | check = FALSE | |||
| ) |
| POLYGON_VERTEX* POLYGON::last | ( | ) | [inline] |
Returns the last POLYGON.
| void POLYGON::prepend | ( | POLYGON_VERTEX * | pv | ) |
| void POLYGON::print | ( | FILE * | fp | ) |
| POLYGON_VERTEX* POLYGON::remove | ( | ) |
Removes the POLYGON.
| logical POLYGON::search | ( | POLYGON_VERTEX * | key | ) |
Performs a search.
| key | key. |
| void POLYGON::set_vertex_template | ( | VERTEX_TEMPLATE * | _node_template | ) | [inline] |
Sets the vertex template.
| _node_template | vertex template - node template. |
| unsigned POLYGON::size | ( | ) |
Returns the size of the polygon.
| void POLYGON::transform | ( | SPAtransf const & | T | ) |
| VERTEX_TEMPLATE* POLYGON::vertex_template | ( | ) | [inline] |
Returns the vertex template.