Go to the documentation of this file.
6 namespace Geom {
class Ax2d; }
32 void setR(
const double& R);
35 void setA(
const double& A);
45 double getTau(
const double& L)
const;
57 std::vector<Geom::XY>
approximate(
const unsigned int& segments)
const;
64 static double getAngle(
const Geom::Ax2d& position);
Clothoid2d & operator=(Clothoid2d &&other)
double getTau(const double &L) const
Get tangent angle τ (radians) at distance L.
double getDeltaR(const double &tau) const
Tangent retraction Δ at angle 𝛕.
void setA(const double &A)
Geom::XY getCenter(const double &L) const
Get XY-coordinates of circle center at distance L.
Clothoid2d & operator=(const Clothoid2d &other)
std::vector< Geom::XY > approximate(const unsigned int &segments) const
double computeTauFromRA() const
Compute tangent angle τ (radians) "τ=A²/(2×R²)".
Geom::XY getCoordinate(const double &L) const
Get XY-coordinates of point at distance L.
Clothoid2d(Clothoid2d &&other)
Definition: Clothoid2d.h:20
double getLength(const double &tau) const
Get distance L from origin for angle 𝛕.
Clothoid2d(const Clothoid2d &other)
Defines a non-persistent 2D cartesian point.
Definition: Pnt2d.h:34
void setR(const double &R)
double computeTk() const
Tangent length (used as debug value)
double getA() const
Clothoid parameter.
double getR() const
Radius at the end of the clothoid section.
Definition: PropertyContainer.h:33
Clothoid2d(const double &R, const double &A)
double computeTl() const
Tangent length (used as debug value)