Eclipse SUMO - Simulation of Urban MObility
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
 
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 179 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

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

Reimplemented from libsumo::TraCIResult.

Definition at line 180 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()

int libsumo::TraCIPosition::getType ( ) const
inlinevirtual

Reimplemented from libsumo::TraCIResult.

Definition at line 189 of file TraCIDefs.h.

References libsumo::INVALID_DOUBLE_VALUE, libsumo::POSITION_2D, libsumo::POSITION_3D, and z.

Field Documentation

◆ x

◆ y

◆ z


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