#include <ppm.hxx>


Public Member Functions | |
| const af_node_instance * | data () |
| Returns the data. | |
| void | destroy (VERTEX_TEMPLATE *node_template) |
| Destroys itself. | |
| logical | get_parameter_data (VERTEX_TEMPLATE *vertemp, parameter_token partok, double *nodedata) |
| Gets the parameter data of the node and returns it in the array. | |
| POLYGON_VERTEX * | next () |
| Returns a pointer to the next vertex in a polygon. | |
| logical | normal (VERTEX_TEMPLATE *vertemp, SPAunit_vector &uv) |
| Returns the normal of the vertex. | |
| logical | point (SPAposition &pt) |
| Returns the position of the vertex. | |
| POLYGON_VERTEX (VERTEX_TEMPLATE *node_template) | |
| C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments. | |
| POLYGON_VERTEX (POLYGON_VERTEX *pv) | |
| C++ copy constructor requests memory for this object and populates it with the data from the object supplied as an argument. | |
| void | print (VERTEX_TEMPLATE *vt=0, FILE *to=stderr) |
| Prints the polygon vertex. | |
| void | set_normal (VERTEX_TEMPLATE *vertemp, const SPAunit_vector &uv) |
| Sets the normal of the vertex. | |
| void | set_parameter_data (VERTEX_TEMPLATE *vertemp, parameter_token partok, double *nodedata) |
| Sets the parameter data as specified in the array. | |
| void | set_point (const SPAposition &pt) |
| Sets the position of the vertex. | |
Note: This class is not derived from ENTITY.
| POLYGON_VERTEX::POLYGON_VERTEX | ( | POLYGON_VERTEX * | pv | ) |
C++ copy constructor requests memory for this object and populates it with the data from the object supplied as an argument.
| pv | vertex pointer. |
| POLYGON_VERTEX::POLYGON_VERTEX | ( | VERTEX_TEMPLATE * | node_template | ) |
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
| node_template | vertex template - node template. |
| const af_node_instance* POLYGON_VERTEX::data | ( | ) | [inline] |
Returns the data.
| void POLYGON_VERTEX::destroy | ( | VERTEX_TEMPLATE * | node_template | ) |
Destroys itself.
| node_template | vertex template - node template. |
| logical POLYGON_VERTEX::get_parameter_data | ( | VERTEX_TEMPLATE * | vertemp, | |
| parameter_token | partok, | |||
| double * | nodedata | |||
| ) |
Gets the parameter data of the node and returns it in the array.
| vertemp | vertex template. | |
| partok | parameter token. | |
| nodedata | node data cell type. |
| POLYGON_VERTEX* POLYGON_VERTEX::next | ( | ) |
Returns a pointer to the next vertex in a polygon.
| logical POLYGON_VERTEX::normal | ( | VERTEX_TEMPLATE * | vertemp, | |
| SPAunit_vector & | uv | |||
| ) |
Returns the normal of the vertex.
Role: If the return value is FALSE, the method could not determine the normal.
| vertemp | vertex template. | |
| uv | normal. |
| logical POLYGON_VERTEX::point | ( | SPAposition & | pt | ) |
Returns the position of the vertex.
Role: If the return value is FALSE, the method could not determine the position.
| pt | point. |
| void POLYGON_VERTEX::print | ( | VERTEX_TEMPLATE * | vt = 0, |
|
| FILE * | to = stderr | |||
| ) |
Prints the polygon vertex.
| vt | vertex template. | |
| to | file to print to. |
| void POLYGON_VERTEX::set_normal | ( | VERTEX_TEMPLATE * | vertemp, | |
| const SPAunit_vector & | uv | |||
| ) |
Sets the normal of the vertex.
| vertemp | vertex template. | |
| uv | normal. |
| void POLYGON_VERTEX::set_parameter_data | ( | VERTEX_TEMPLATE * | vertemp, | |
| parameter_token | partok, | |||
| double * | nodedata | |||
| ) |
Sets the parameter data as specified in the array.
| vertemp | vertex template. | |
| partok | parameter token. | |
| nodedata | node data cell type. |
| void POLYGON_VERTEX::set_point | ( | const SPAposition & | pt | ) |
Sets the position of the vertex.
| pt | point. |