#include <polygonal_curve.h>
Public Types | |
typedef point | point_t |
typedef point::arithmetic_t | arithmetic_t |
typedef arithmetic_t | arithmetic |
typedef rigid_motion<arithmetic> | motion |
typedef int | size_t |
typedef polygon_vertex<point> | vertex |
typedef polygon_edge<point> | edge |
typedef vertex_iterator | pc_vertex_iterator |
Public Methods | |
size_t | length () |
returns the number of edges (not the number of vertices!) of the curve. | |
polygonal_curve () | |
Standard-Konstruktor, welcher einen leeren Polygonzug erzeugt. More... | |
polygonal_curve (const polygonal_curve<point>& P, const int n) | |
Erzeugt eine neue Polygonkurve, indem von P die ersten Kanten entfernt werden. | |
polygonal_curve (const polygonal_curve<point>&) | |
Copy-Construcotr for a polygonal curve. More... | |
polygonal_curve (const polygonal_curve<point>& P, vertex* one) | |
Erzeugt eine Polygonkurve, bei der die erste Kante von P durch die Kante one ersetzt wird. | |
~polygonal_curve () | |
polygonal_curve<point>& | operator= (const polygonal_curve<point>&) |
Copy-Construcotr for a polygonal curve. More... | |
void | clear () |
void | push_front (vertex* v) |
void | push_back (vertex* v) |
void | delete_last_point () |
vertex_iterator | vertex_begin () const |
vertex_iterator | vertex_end () const |
edge_iterator | edge_begin () |
edge_iterator | edge_end () |
void | read (std::fstream&) |
void | write (std::fstream&) |
polygonal_curve<point>& | operator *= (const motion& m) |
bool | empty () |
|
Standard-Konstruktor, welcher einen leeren Polygonzug erzeugt.
Dieser kann durch |
|
Copy-Construcotr for a polygonal curve. All vertices in the returned curve are newly instantiated. |
|
Copy-Construcotr for a polygonal curve. All vertices in the returned curve are newly instantiated. |