UAV Simulator
Loading...
Searching...
No Matches
path_segment.h
Go to the documentation of this file.
1
9#ifndef PATH_SEGMENT_H
10#define PATH_SEGMENT_H
11
12#include <vector>
13
14#include <easy3d/core/vec.h>
15#include "common.h"
16
24{
25public:
29 virtual ~PathSegment() = default;
40 virtual std::vector<easy3d::vec3> generateWaypoints(float spacing) const = 0;
41};
42
43#endif // PATH_SEGMENT_H
Abstract base class representing a segment of a path.
Definition path_segment.h:24
virtual ~PathSegment()=default
Virtual destructor for safe polymorphic destruction.
virtual std::vector< easy3d::vec3 > generateWaypoints(float spacing) const =0
Generate waypoints along the path segment.
Common definitions and aliases for Easy3D types.