1 #ifndef DM_IPOLYLINE_HPP_INCLUDED
2 #define DM_IPOLYLINE_HPP_INCLUDED
8 #include "DM/config.hpp"
9 #include "DM/Handle.hpp"
10 #include "DM/IGeometry.hpp"
11 #include "DM/IPoint.hpp"
12 #include "DM/IAddInfo.hpp"
13 #include "DM/IAddInfoContainer.hpp"
14 #include "DM/Iterator.hpp"
15 #include "DM/IAddInfoStatistics.hpp"
30 virtual int sizePoint()
const = 0;
31 virtual bool isClosed()
const = 0;
33 virtual double getArea()
const = 0;
35 virtual double getLength2D()
const = 0;
36 virtual double getLength3D()
const = 0;
38 virtual const IPoint& operator[](
int)
const = 0;
46 virtual int sizePoint()
const = 0;
47 virtual int sizePart()
const = 0;
49 virtual bool isClosed()
const = 0;
51 virtual const IPoint& operator[](
int)
const = 0;
53 virtual const_iterator_point beginPoint()
const = 0;
54 virtual const_iterator_point endPoint()
const = 0;
56 virtual const_iterator_part beginPart()
const = 0;
57 virtual const_iterator_part endPart()
const = 0;
59 virtual void reverse() = 0;
61 virtual double getLength2D()
const = 0;
62 virtual double getLength3D()
const = 0;
68 typedef Handle< IPolyline > PolylineHandle;
72 #endif //DM_IPOLYLINE_HPP_INCLUDED