1 #pragma once 2 3 #include <mbgl/util/geometry.hpp> 4 5 #include <vector> 6 7 namespace mbgl { 8 9 class Anchor { 10 public: 11 Point<float> point; 12 float angle = 0.0f; 13 float scale = 0.0f; 14 int segment = -1; 15 Anchor(float x_,float y_,float angle_,float scale_,int segment_=-1)16 Anchor(float x_, float y_, float angle_, float scale_, int segment_ = -1) 17 : point(x_, y_), angle(angle_), scale(scale_), segment(segment_) {} 18 }; 19 20 using Anchors = std::vector<Anchor>; 21 22 } // namespace mbgl 23