Open
Graph Drawing
Framework

 v.2007.11
 

ogdf::IPolyline Class Reference

Polylines with integer coordinates. More...

#include <geometry.h>

Inheritance diagram for ogdf::IPolyline:

ogdf::List< E > ogdf::ListPure< E >

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 211 of file geometry.h.


Constructor & Destructor Documentation

ogdf::IPolyline::IPolyline (  )  [inline]

Creates an empty integer polyline.

Definition at line 214 of file geometry.h.

ogdf::IPolyline::IPolyline ( const IPolyline ipl  )  [inline]

Copy constructor.

Definition at line 217 of file geometry.h.


Member Function Documentation

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

Assignment operator.

Definition at line 220 of file geometry.h.

double ogdf::IPolyline::length (  )  const

Returns the euclidean length of the polyline.


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

© 1999-2007 by oreas GmbH, © 2005-2007 by University Dortmund and University Cologne.

Generated on Thu Nov 22 19:40:07 2007 by doxygen 1.5.4.