Drake
GeoPositionT< T > Class Template Reference

A position in 3-dimensional geographical Cartesian space, i.e., in the world frame, consisting of three components x, y, and z. More...

#include <automotive/maliput/api/lane_data.h>

Public Member Functions

 GeoPositionT ()
 Default constructor, initializing all components to zero. More...
 
 GeoPositionT (const T &x, const T &y, const T &z)
 Fully parameterized constructor. More...
 
const Vector3< T > & xyz () const
 Returns all components as 3-vector [x, y, z]. More...
 
void set_xyz (const Vector3< T > &xyz)
 Sets all components from 3-vector [x, y, z]. More...
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 GeoPositionT (const GeoPositionT &)=default
 
GeoPositionToperator= (const GeoPositionT &)=default
 
 GeoPositionT (GeoPositionT &&)=default
 
GeoPositionToperator= (GeoPositionT &&)=default
 
Getters and Setters
x () const
 Gets x value. More...
 
void set_x (const T &x)
 Sets x value. More...
 
y () const
 Gets y value. More...
 
void set_y (const T &y)
 Sets y value. More...
 
z () const
 Gets z value. More...
 
void set_z (const T &z)
 Sets z value. More...
 

Static Public Member Functions

static GeoPositionT< T > FromXyz (const Vector3< T > &xyz)
 Constructs a GeoPositionT from a 3-vector xyz of the form [x, y, z]. More...
 

Detailed Description

template<typename T>
class drake::maliput::api::GeoPositionT< T >

A position in 3-dimensional geographical Cartesian space, i.e., in the world frame, consisting of three components x, y, and z.

Instantiated templates for the following kinds of T's are provided:

They are already available to link against in the containing library.

Constructor & Destructor Documentation

GeoPositionT ( const GeoPositionT< T > &  )
default
GeoPositionT ( GeoPositionT< T > &&  )
default
GeoPositionT ( )
inline

Default constructor, initializing all components to zero.

GeoPositionT ( const T &  x,
const T &  y,
const T &  z 
)
inline

Fully parameterized constructor.

Member Function Documentation

static GeoPositionT<T> FromXyz ( const Vector3< T > &  xyz)
inlinestatic

Constructs a GeoPositionT from a 3-vector xyz of the form [x, y, z].

GeoPositionT& operator= ( GeoPositionT< T > &&  )
default
GeoPositionT& operator= ( const GeoPositionT< T > &  )
default
void set_x ( const T &  x)
inline

Sets x value.

void set_xyz ( const Vector3< T > &  xyz)
inline

Sets all components from 3-vector [x, y, z].

void set_y ( const T &  y)
inline

Sets y value.

void set_z ( const T &  z)
inline

Sets z value.

T x ( ) const
inline

Gets x value.

Here is the caller graph for this function:

const Vector3<T>& xyz ( ) const
inline

Returns all components as 3-vector [x, y, z].

Here is the caller graph for this function:

T y ( ) const
inline

Gets y value.

Here is the caller graph for this function:

T z ( ) const
inline

Gets z value.

Here is the caller graph for this function:


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