Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions

ogdf::IPolyline Class Reference

Polylines with integer coordinates. More...

#include <ogdf/basic/geometry.h>

Inheritance diagram for ogdf::IPolyline:
ogdf::List< IPoint > ogdf::ListPure< IPoint >

List of all members.

Public Member Functions

 IPolyline ()
 Creates an empty integer polyline.
 IPolyline (const IPolyline &ipl)
 Copy constructor.
IPolylineoperator= (const IPolyline &ipl)
 Assignment operator.
double length () const
 Returns the euclidean length of the polyline.

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

double ogdf::IPolyline::length (  )  const

Returns the euclidean length of the polyline.

IPolyline& ogdf::IPolyline::operator= ( const IPolyline ipl  )  [inline]

Assignment operator.

Definition at line 222 of file geometry.h.


The documentation for this class was generated from the following file: