17 #ifndef SDF_POLYLINE_HH_
18 #define SDF_POLYLINE_HH_
22 #include <ignition/math/Vector2.hh>
23 #include <ignition/utils/ImplPtr.hh>
31 inline namespace SDF_VERSION_NAMESPACE {
50 public:
double Height()
const;
54 public:
void SetHeight(
const double _height);
58 public: uint64_t PointCount()
const;
62 public:
const ignition::math::Vector2d *PointByIndex(uint64_t _index)
const;
66 public: ignition::math::Vector2d *PointByIndex(uint64_t _index);
71 public:
bool AddPoint(
const ignition::math::Vector2d &_point);
74 public:
void ClearPoints();
79 public:
const std::vector<ignition::math::Vector2d> &Points()
const;
95 IGN_UTILS_IMPL_PTR(dataPtr)