Go to the documentation of this file.
8 #ifndef FIELDS2COVER_TYPES_PATH_H_
9 #define FIELDS2COVER_TYPES_PATH_H_
11 #include <gdal/ogr_geometry.h>
35 const std::vector<PathState>&
getStates()
const;
36 void setStates(
const std::vector<PathState>& v_ps);
40 std::vector<PathState>::const_iterator
cbegin()
const;
41 std::vector<PathState>::const_iterator
cend()
const;
42 std::vector<PathState>::const_iterator
begin()
const;
43 std::vector<PathState>::const_iterator
end()
const;
44 std::vector<PathState>::iterator
begin();
45 std::vector<PathState>::iterator
end();
85 void saveToFile(
const std::string& file,
size_t precision = 6)
const;
86 void loadFile(
const std::string& file);
99 #endif // FIELDS2COVER_TYPES_PATH_H_
std::vector< PathState >::const_iterator cend() const
void appendSwath(const Swath &swath, double cruise_speed)
Path & discretize(double step_size)
std::vector< PathState > & getStates()
Types used by fields2cover library.
double getTaskTime() const
void rotateFromPoint(const Point &, double ang)
std::vector< PathState >::const_iterator end() const
PathState at(double t) const
Path & reduce(double min_dist_equal=0.1)
Path & operator+=(const Path &path)
const PathState & operator[](size_t idx) const
std::vector< PathState >::const_iterator begin() const
PathState & getState(size_t i)
void addState(const PathState &ps)
Path & populate(int number_points=100)
double getDimMaxX() const
std::string serializePath(size_t digit_precision=6) const
double getDimMaxY() const
std::vector< PathState > states_
LineString toLineString() const
double getDimMinY() const
void setStates(const std::vector< PathState > &v_ps)
double length(void) const
Path discretizeSwath(double step_size) const
Discretize the swath sections of the path and return a new path.
const PathState & back() const
void setState(size_t i, const PathState &ps)
void loadFile(const std::string &file)
void moveTo(const Point &)
void saveToFile(const std::string &file, size_t precision=6) const
std::vector< PathState >::const_iterator cbegin() const
double getDimMinX() const
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31