maliput_multilane
EndpointXy Class Reference

Detailed Description

XY-plane-only parameters for an endpoint of a connection, specified in the world frame.

The three components are:

  • x: x position
  • y: y position
  • heading: counter-clockwise around z=cross(x,y). It is the heading of reference path (radians, zero == x-direction).

#include <include/maliput_multilane/connection.h>

Public Member Functions

 EndpointXy ()=default
 
 EndpointXy (double x, double y, double heading)
 
EndpointXy reverse () const
 Returns an EndpointXy with reversed direction. More...
 
double x () const
 
double y () const
 
double heading () const
 

Constructor & Destructor Documentation

◆ EndpointXy() [1/2]

EndpointXy ( )
default

◆ EndpointXy() [2/2]

EndpointXy ( double  x,
double  y,
double  heading 
)

Member Function Documentation

◆ heading()

double heading ( ) const

◆ reverse()

EndpointXy reverse ( ) const

Returns an EndpointXy with reversed direction.

◆ x()

double x ( ) const

◆ y()

double y ( ) const

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