13 #include "../BasicDatatypes.hpp" 66 m_startDist(startDist),
80 void setAngle(
double angle) { m_angle = angle; }
109 m_points.push_back(point);
117 UINT32 getNumberOfPoints();
118 void computePolygon();
119 FieldSegmentedPoints getPoints();
144 return sizeof(*this);
147 void computePolygon();
148 double getLength()
const;
149 double getRefPointAngle()
const;
150 double getRefPointDist()
const;
151 double getRotAngle()
const;
152 double getWidth()
const;
153 void setLength(
double length);
154 void setRefPointAngle(
double refPointAngle);
155 void setRefPointDist(
double refPointDist);
156 void setRotAngle(
double rotAngle);
157 void setWidth(
double width);
187 return sizeof(*this);
190 UINT16 getFirstAngle()
const;
191 UINT16 getLastAngle()
const;
192 UINT32 getMaxDist()
const;
193 UINT32 getMinDist()
const;
194 void setFirstAngle(
UINT16 m_firstAngle);
195 void setLastAngle(
UINT16 m_lastAngle);
196 void setMaxDist(
UINT32 m_maxDist);
197 void setMinDist(
UINT32 m_minDist);
199 void computePolygon();
228 return sizeof(*this);
231 double getMaxLength()
const;
232 double getSpeedMax()
const;
233 void setMaxLength(
double maxLength);
234 void setSpeedMax(
double speedMax);
double getEndDist() const
virtual const UINT32 getUsedMemory() const
UINT16 m_lastAngle
index of last angle relative to AngleScale
FieldSegmentedPoint(double angle, double startDist, double endDist)
const FieldParameter & getField(UINT16 fieldNumber) const
const UINT32 getUsedMemory() const
UINT16 m_firstAngle
index of start angle relative to AngleScale
UINT16 getNumberOfValidFields()
virtual const UINT32 getUsedMemory() const
void addPoint(const FieldSegmentedPoint &point)
double m_refPointAngle
[rad]
double getStartDist() const
void setStartDist(double startDist)
virtual ~FieldRectangle()
void setEndDist(double endDist)
FieldSegmentedPoints m_points
virtual const UINT32 getUsedMemory() const
virtual ~FieldSegmented()
std::vector< FieldSegmentedPoint > FieldSegmentedPoints
std::vector< FieldParameter * > FieldVector
void setAngle(double angle)
virtual const UINT32 getUsedMemory() const
void add(FieldParameter *field)
double m_maxLength
[m] extension at maximum speed to direction of RotAngle+90° relative to DistScale ...
const FieldVector & getFields() const