OpenLexocad  27.1
Geom::Clothoid2d Class Reference

#include <Clothoid2d.h>

Public Member Functions

 Clothoid2d ()
 
 Clothoid2d (const double &R, const double &A)
 
 Clothoid2d (const Clothoid2d &other)
 
 Clothoid2d (Clothoid2d &&other)
 
Clothoid2doperator= (const Clothoid2d &other)
 
Clothoid2doperator= (Clothoid2d &&other)
 
 ~Clothoid2d ()=default
 
double getR () const
 Radius at the end of the clothoid section. More...
 
void setR (const double &R)
 
double getA () const
 Clothoid parameter. More...
 
void setA (const double &A)
 
double computeTauFromRA () const
 Compute tangent angle τ (radians) "τ=A²/(2×R²)". More...
 
double getDeltaR (const double &tau) const
 Tangent retraction Δ at angle 𝛕. More...
 
double getLength (const double &tau) const
 Get distance L from origin for angle 𝛕. More...
 
double getTau (const double &L) const
 Get tangent angle τ (radians) at distance L. More...
 
Geom::XY getCoordinate (const double &L) const
 Get XY-coordinates of point at distance L. More...
 
Geom::XY getCenter (const double &L) const
 Get XY-coordinates of circle center at distance L. More...
 
double computeTk () const
 Tangent length (used as debug value) More...
 
double computeTl () const
 Tangent length (used as debug value) More...
 
std::vector< Geom::XYapproximate (const unsigned int &segments) const
 

Constructor & Destructor Documentation

◆ Clothoid2d() [1/4]

Geom::Clothoid2d::Clothoid2d ( )

◆ Clothoid2d() [2/4]

Geom::Clothoid2d::Clothoid2d ( const double &  R,
const double &  A 
)

◆ Clothoid2d() [3/4]

Geom::Clothoid2d::Clothoid2d ( const Clothoid2d other)

◆ Clothoid2d() [4/4]

Geom::Clothoid2d::Clothoid2d ( Clothoid2d &&  other)

◆ ~Clothoid2d()

Geom::Clothoid2d::~Clothoid2d ( )
default

Member Function Documentation

◆ approximate()

std::vector<Geom::XY> Geom::Clothoid2d::approximate ( const unsigned int &  segments) const

◆ computeTauFromRA()

double Geom::Clothoid2d::computeTauFromRA ( ) const

Compute tangent angle τ (radians) "τ=A²/(2×R²)".

◆ computeTk()

double Geom::Clothoid2d::computeTk ( ) const

Tangent length (used as debug value)

◆ computeTl()

double Geom::Clothoid2d::computeTl ( ) const

Tangent length (used as debug value)

◆ getA()

double Geom::Clothoid2d::getA ( ) const

Clothoid parameter.

◆ getCenter()

Geom::XY Geom::Clothoid2d::getCenter ( const double &  L) const

Get XY-coordinates of circle center at distance L.

◆ getCoordinate()

Geom::XY Geom::Clothoid2d::getCoordinate ( const double &  L) const

Get XY-coordinates of point at distance L.

◆ getDeltaR()

double Geom::Clothoid2d::getDeltaR ( const double &  tau) const

Tangent retraction Δ at angle 𝛕.

◆ getLength()

double Geom::Clothoid2d::getLength ( const double &  tau) const

Get distance L from origin for angle 𝛕.

◆ getR()

double Geom::Clothoid2d::getR ( ) const

Radius at the end of the clothoid section.

◆ getTau()

double Geom::Clothoid2d::getTau ( const double &  L) const

Get tangent angle τ (radians) at distance L.

◆ operator=() [1/2]

Clothoid2d& Geom::Clothoid2d::operator= ( const Clothoid2d other)

◆ operator=() [2/2]

Clothoid2d& Geom::Clothoid2d::operator= ( Clothoid2d &&  other)

◆ setA()

void Geom::Clothoid2d::setA ( const double &  A)

◆ setR()

void Geom::Clothoid2d::setR ( const double &  R)

The documentation for this class was generated from the following file: