Polylines with integer coordinates. More...
#include <ogdf/basic/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. | |
Polylines with integer coordinates.
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 213 of file geometry.h.
| ogdf::IPolyline::IPolyline | ( | ) | [inline] |
Creates an empty integer polyline.
Definition at line 216 of file geometry.h.
| ogdf::IPolyline::IPolyline | ( | const IPolyline & | ipl | ) | [inline] |
Copy constructor.
Definition at line 219 of file geometry.h.
| double ogdf::IPolyline::length | ( | ) | const |
Returns the euclidean length of the polyline.
Assignment operator.
Definition at line 222 of file geometry.h.