ClothoidSplineG2 Class Reference

Clothoids: G2lib::ClothoidSplineG2 Class Reference
Clothoids

#include <ClothoidList.hxx>

Public Types

using TargetType
 

Public Member Functions

void setP1 (real_type theta0, real_type thetaN)
 
void setP2 ()
 
void setP3 ()
 
void setP4 ()
 
void setP5 ()
 
void setP6 ()
 
void setP7 ()
 
void setP8 ()
 
void setP9 ()
 
void build (real_type const xvec[], real_type const yvec[], integer npts)
 
integer numPnts () const
 
integer numTheta () const
 
integer numConstraints () const
 
void guess (real_type theta_guess[], real_type theta_min[], real_type theta_max[]) const
 
bool objective (real_type const theta[], real_type &f) const
 
bool gradient (real_type const theta[], real_type g[]) const
 
bool constraints (real_type const theta[], real_type c[]) const
 
integer jacobian_nnz () const
 
bool jacobian_pattern (integer i[], integer j[]) const
 
bool jacobian_pattern_matlab (real_type i[], real_type j[]) const
 
bool jacobian (real_type const theta[], real_type vals[]) const
 
string info () const
 
void info (ostream_type &stream) const
 

Static Public Member Functions

static string to_string (TargetType n)
 

Friends

ostream_typeoperator<< (ostream_type &stream, ClothoidSplineG2 const &c)
 

Detailed Description

Class for the computation of \( G^2 \) spljne of clothoids

Member Typedef Documentation

◆ TargetType

Initial value:
enum class TargetType : integer
{ P1, P2, P3, P4, P5, P6, P7, P8, P9 }
enum class TargetType :integer { P1, P2, P3, P4, P5, P6, P7, P8, P9 } TargetType
Definition ClothoidList.hxx:2234
int integer
integer type number
Definition Clothoids.hh:80

Type of Spline list to be build

Member Function Documentation

◆ to_string()

static string G2lib::ClothoidSplineG2::to_string ( TargetType n)
inlinestatic

Convert TargetType to string

Parameters
[in]nthe target type
Returns
a string with the name of the target

Friends And Related Symbol Documentation

◆ operator<<

ostream_type & operator<< ( ostream_type & stream,
ClothoidSplineG2 const & c )
friend

Print on strem the ClothoidSplineG2 object

Parameters
streamthe output stream
can instance of ClothoidSplineG2 object
Returns
the output stream

The documentation for this class was generated from the following files:
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/Clothoids/ClothoidList.hxx
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/ClothoidG2.cc
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Clothoids/src/ClothoidList.cc