#include <geometry.h>

Public Member Functions | |
| IPolyline () | |
| Creates an empty integer polyline. | |
| IPolyline (const IPolyline &ipl) | |
| Copy constructor. | |
| IPolyline & | operator= (const IPolyline &ipl) |
| Assignment operator. | |
| double | length () const |
| Returns the euclidean length of the polyline. | |
This class represents integer polylines by a list of integer points. Such polylines are, e.g., used in layouts for representing bend point lists. Note that in this case, only the bend points are in the list and neither the start nor the end point.
Definition at line 211 of file geometry.h.
| ogdf::IPolyline::IPolyline | ( | ) | [inline] |
| ogdf::IPolyline::IPolyline | ( | const IPolyline & | ipl | ) | [inline] |
| double ogdf::IPolyline::length | ( | ) | const |
Returns the euclidean length of the polyline.