17 #ifndef SDF_POLYLINE_HH_
18 #define SDF_POLYLINE_HH_
22 #include <gz/math/Vector2.hh>
23 #include <gz/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 gz::math::Vector2d *PointByIndex(uint64_t _index)
const;
66 public: gz::math::Vector2d *PointByIndex(uint64_t _index);
71 public:
bool AddPoint(
const gz::math::Vector2d &_point);
74 public:
void ClearPoints();
79 public:
const std::vector<gz::math::Vector2d> &Points()
const;
95 GZ_UTILS_IMPL_PTR(dataPtr)