UAV Simulator
|
Abstract base class representing a segment of a path. More...
#include <path_segment.h>
Public Member Functions | |
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. | |
Abstract base class representing a segment of a path.
Defines the interface for generating discrete waypoints along the segment.
|
virtualdefault |
Virtual destructor for safe polymorphic destruction.
|
pure virtual |
Generate waypoints along the path segment.
This pure virtual function must be implemented by all derived classes to provide a set of points spaced approximately by the given distance along the segment.
spacing | Desired spacing between waypoints. |
Implemented in LineSegment.