17 #ifndef SDF_POLYLINE_HH_
18 #define SDF_POLYLINE_HH_
22 #include <gz/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 gz::math::Vector2d *PointByIndex(uint64_t _index)
const;
89 public: gz::math::Vector2d *PointByIndex(uint64_t _index);
94 public:
bool AddPoint(
const gz::math::Vector2d &_point);
97 public:
void ClearPoints();
102 public:
const std::vector<gz::math::Vector2d> &Points()
const;
111 private: PolylinePrivate *dataPtr;