Model Railroad System  2.2.1
Public Member Functions | Public Attributes | List of all members
Parsers::TrackGraph::EdgeValues Struct Reference

Uncompressed graph edge values. More...

Public Member Functions

 EdgeValues (int _index=-1, float _x=0.0, float _y=0.0, float _a=0.0, float _length=0.0)
 Default constructor. More...
 

Public Attributes

int index
 Index of next segment. More...
 
float x
 X value of edge. More...
 
float y
 Y value of edge. More...
 
float a
 A value of edge. More...
 
float length
 Track length from opposite edge. More...
 

Detailed Description

Uncompressed graph edge values.

Author
Robert Heller <heller@deepsoft.com>

Constructor & Destructor Documentation

◆ EdgeValues()

Parsers::TrackGraph::EdgeValues::EdgeValues ( int  _index = -1,
float  _x = 0.0,
float  _y = 0.0,
float  _a = 0.0,
float  _length = 0.0 
)
inline

Default constructor.

Member Data Documentation

◆ a

float Parsers::TrackGraph::EdgeValues::a

A value of edge.

◆ index

int Parsers::TrackGraph::EdgeValues::index

Index of next segment.

◆ length

float Parsers::TrackGraph::EdgeValues::length

Track length from opposite edge.

◆ x

float Parsers::TrackGraph::EdgeValues::x

X value of edge.

◆ y

float Parsers::TrackGraph::EdgeValues::y

Y value of edge.