Thunderbots Project
Loading...
Searching...
No Matches
angle_segment.h
1#pragma once
2
3#include "software/geom/angle.h"
4
11{
12 public:
19 explicit AngleSegment(Angle angle_top, Angle angle_bottom);
20
26 const Angle &getAngleTop() const;
27
33 void setAngleTop(const Angle &angle_top);
34
40 const Angle &getAngleBottom() const;
41
47 void setAngleBottom(const Angle &angle_bottom);
48
49
56 double getDeltaInDegrees() const;
57
64 bool operator==(const AngleSegment &other) const;
65
72 bool operator!=(const AngleSegment &other) const;
73
80 bool operator<(const AngleSegment &other) const;
81
88 bool operator>(const AngleSegment &other) const;
89
90 private:
91 Angle angle_top_;
92 Angle angle_bottom_;
93};
Definition angle_segment.h:11
void setAngleBottom(const Angle &angle_bottom)
Definition angle_segment.cpp:29
bool operator>(const AngleSegment &other) const
Definition angle_segment.cpp:49
const Angle & getAngleBottom() const
Definition angle_segment.cpp:24
bool operator!=(const AngleSegment &other) const
Definition angle_segment.cpp:54
bool operator<(const AngleSegment &other) const
Definition angle_segment.cpp:44
double getDeltaInDegrees() const
Definition angle_segment.cpp:34
const Angle & getAngleTop() const
Definition angle_segment.cpp:14
void setAngleTop(const Angle &angle_top)
Definition angle_segment.cpp:19
bool operator==(const AngleSegment &other) const
Definition angle_segment.cpp:39
Definition angle.h:15