Drake
SRange Class Reference

Directed, inclusive longitudinal (s value) range from s0 to s1. More...

#include <automotive/maliput/api/rules/regions.h>

Public Member Functions

 SRange ()=default
 Default constructor: initializes s0 and s1 to zero. More...
 
 SRange (double s0, double s1)
 Constructs range [s0 –> s1]. More...
 
double s0 () const
 Gets s0 value. More...
 
double s1 () const
 Gets s1 value. More...
 
void set_s0 (double s0)
 Sets s0 value. More...
 
void set_s1 (double s1)
 Sets s1 value. More...
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 SRange (const SRange &)=default
 
SRangeoperator= (const SRange &)=default
 
 SRange (SRange &&)=default
 
SRangeoperator= (SRange &&)=default
 

Detailed Description

Directed, inclusive longitudinal (s value) range from s0 to s1.

Constructor & Destructor Documentation

SRange ( const SRange )
default
SRange ( SRange &&  )
default
SRange ( )
default

Default constructor: initializes s0 and s1 to zero.

SRange ( double  s0,
double  s1 
)
inline

Constructs range [s0 –> s1].

Member Function Documentation

SRange& operator= ( const SRange )
default
SRange& operator= ( SRange &&  )
default
double s0 ( ) const
inline

Gets s0 value.

Here is the caller graph for this function:

double s1 ( ) const
inline

Gets s1 value.

Here is the caller graph for this function:

void set_s0 ( double  s0)
inline

Sets s0 value.

Here is the call graph for this function:

void set_s1 ( double  s1)
inline

Sets s1 value.

Here is the call graph for this function:


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