8 ConvexPolygon(std::vector<frc::Translation2d> vert);
9 bool Intersects(
const ConvexPolygon& other);
10 bool IsPointInPolygon(frc::Translation2d point)
const;
11 void SetVertices(std::vector<frc::Translation2d> new_vert);
13 std::vector<frc::Translation2d>& GetVertices() {
return vertices; }
15 std::vector<frc::Translation2d> GetAxes()
const;
16 std::pair<units::square_meter_t, units::square_meter_t> Project(frc::Translation2d axis)
const;
19 bool IsPolygonConvex(std::vector<frc::Translation2d> vert)
const;
21 std::vector<frc::Translation2d> vertices;