Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
libsumo::TraCIPosition Struct Reference

A 2D or 3D-position, for 2D positions z == INVALID_DOUBLE_VALUE. More...

#include <TraCIDefs.h>

Inheritance diagram for libsumo::TraCIPosition:
[legend]
Collaboration diagram for libsumo::TraCIPosition:
[legend]

Public Member Functions

std::string getString () const
 
virtual int getType () const
 

Data Fields

double x = INVALID_DOUBLE_VALUE
 
double y = INVALID_DOUBLE_VALUE
 
double z = INVALID_DOUBLE_VALUE
 

Detailed Description

A 2D or 3D-position, for 2D positions z == INVALID_DOUBLE_VALUE.

Definition at line 178 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

std::string libsumo::TraCIPosition::getString ( ) const
inlinevirtual

Reimplemented from libsumo::TraCIResult.

Definition at line 179 of file TraCIDefs.h.

References libsumo::INVALID_DOUBLE_VALUE, x, y, and z.

Referenced by TraCITestClient::testAPI().

Here is the caller graph for this function:

◆ getType()

virtual int libsumo::TraCIResult::getType ( ) const
inlinevirtualinherited

Reimplemented in libsumo::TraCIDouble, and libsumo::TraCIString.

Definition at line 170 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::toStorage().

Here is the caller graph for this function:

Field Documentation

◆ x

◆ y

◆ z


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