17 #ifndef SDF_POLYLINE_HH_
18 #define SDF_POLYLINE_HH_
22 #include <ignition/math/Vector2.hh>
25 #include <sdf/sdf_config.h>
30 inline namespace SDF_VERSION_NAMESPACE {
34 class PolylinePrivate;
73 public:
double Height()
const;
77 public:
void SetHeight(
const double _height);
81 public: uint64_t PointCount()
const;
85 public:
const ignition::math::Vector2d *PointByIndex(uint64_t _index)
const;
89 public: ignition::math::Vector2d *PointByIndex(uint64_t _index);
94 public:
bool AddPoint(
const ignition::math::Vector2d &_point);
97 public:
void ClearPoints();
102 public:
const std::vector<ignition::math::Vector2d> &Points()
const;
111 private: PolylinePrivate *dataPtr;