83 [[nodiscard]]
const std::vector<Coord>&
getCoords() const noexcept {
return _coords; }
111 std::vector<Coord> _coords;
112 std::vector<Coord> _dd;
Represents a path with coordinates and allows for various interpolation methods.
Vec3 getPosition(RealType t) const
Retrieves the position at a given time along the path.
Path(const Path &)=delete
const std::vector< Coord > & getCoords() const noexcept
Gets the list of coordinates in the path.
Path & operator=(const Path &)=delete
Path(const InterpType type=InterpType::INTERP_STATIC) noexcept
Constructs a Path object with a specified interpolation type.
Path & operator=(Path &&)=delete
void setInterp(InterpType settype) noexcept
Changes the interpolation type.
InterpType
Types of interpolation supported by the Path class.
Vec3 getVelocity(RealType t) const
Retrieves the velocity at a given time along the path.
void addCoord(const Coord &coord) noexcept
Adds a coordinate to the path.
InterpType getType() const noexcept
Retrieves the current interpolation type of the path.
void finalize()
Finalizes the path, preparing it for interpolation.
A class representing a vector in rectangular coordinates.
Global configuration file for the project.
double RealType
Type for real numbers.
Coordinate and rotation structure operations.
Represents a position in 3D space with an associated time.