maliput_malidrive
GroundCurveStub Class Reference

Detailed Description

Stub type that returns initialization values on each interface API.

#include <src/maliput_malidrive/test_utilities/ground_curve_stub.h>

Inheritance diagram for GroundCurveStub:
[legend]

Public Member Functions

 MALIDRIVE_NO_COPY_NO_MOVE_NO_ASSIGN (GroundCurveStub)
 
 GroundCurveStub (const maliput::math::Vector2 &g_result, const maliput::math::Vector2 &g_dot_result, double heading_result, double heading_dot_result, double d_g_inverse_result, double arc_length_result, double linear_tolerance_result, double p0_result, double p1_result, bool is_g1_contiguous_result)
 
- Public Member Functions inherited from GroundCurve
 MALIDRIVE_NO_COPY_NO_MOVE_NO_ASSIGN (GroundCurve)
 
virtual ~GroundCurve ()=default
 
double PFromP (double xodr_p) const
 Calculates the \( p \) value that matches with the \( p \) value in the XODR description. More...
 
maliput::math::Vector2 G (double p) const
 Evaluates \( G(p) \). More...
 
maliput::math::Vector2 GDot (double p) const
 Evaluates \( G'(p) \). More...
 
double Heading (double p) const
 Evaluates \( θ(p) \). More...
 
double HeadingDot (double p) const
 Evaluates \( θ'(p) \). More...
 
double GInverse (const maliput::math::Vector2 &xy) const
 Evaluates \( G⁻¹(x, y) \). More...
 
double ArcLength () const
 
double linear_tolerance () const
 
double p0 () const
 
double p1 () const
 
bool IsG1Contiguous () const
 

Additional Inherited Members

- Static Public Attributes inherited from GroundCurve
static constexpr double kEpsilon = 1e-13
 Implementations may opt to allow a tolerance or be up to kEpsilon away from [p0(); p1()]. More...
 
- Protected Member Functions inherited from GroundCurve
 GroundCurve ()=default
 

Constructor & Destructor Documentation

◆ GroundCurveStub()

GroundCurveStub ( const maliput::math::Vector2 g_result,
const maliput::math::Vector2 g_dot_result,
double  heading_result,
double  heading_dot_result,
double  d_g_inverse_result,
double  arc_length_result,
double  linear_tolerance_result,
double  p0_result,
double  p1_result,
bool  is_g1_contiguous_result 
)

Member Function Documentation

◆ MALIDRIVE_NO_COPY_NO_MOVE_NO_ASSIGN()

MALIDRIVE_NO_COPY_NO_MOVE_NO_ASSIGN ( GroundCurveStub  )

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