Drake
EndpointXy Class Reference

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

#include <drake/automotive/maliput/multilane/builder.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
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 EndpointXy (const EndpointXy &)=default
 
EndpointXyoperator= (const EndpointXy &)=default
 
 EndpointXy (EndpointXy &&)=default
 
EndpointXyoperator= (EndpointXy &&)=default
 

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: heading of reference path (radians, zero == x-direction)

Constructor & Destructor Documentation

EndpointXy ( const EndpointXy )
default
EndpointXy ( EndpointXy &&  )
default
EndpointXy ( )
default

Here is the caller graph for this function:

EndpointXy ( double  x,
double  y,
double  heading 
)
inline

Member Function Documentation

double heading ( ) const
inline

Here is the caller graph for this function:

EndpointXy& operator= ( EndpointXy &&  )
default
EndpointXy& operator= ( const EndpointXy )
default
EndpointXy reverse ( ) const
inline

Returns an EndpointXy with reversed direction.

Here is the call graph for this function:

double x ( ) const
inline

Here is the caller graph for this function:

double y ( ) const
inline

Here is the caller graph for this function:


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