Model Railroad System  2.2.1
Public Types | Public Attributes | List of all members
Parsers::SegVector Struct Reference

Segemnt structure. More...

#include <TrackGraph.h>

Public Types

enum  GrType { S, C, J }
 Graphic types. More...
 

Public Attributes

GrType tgType
 Segment type. More...
 
SegPos gPos1
 First graphic position. More...
 
SegPos gPos2
 Second graphic position. More...
 
SegPos ePos1
 First end point position. More...
 
SegPos ePos2
 Second end point position. More...
 
float radius
 Radius value. More...
 
float ang0
 First angle. More...
 
float ang1
 Second angle. More...
 
float R
 $R$ value. More...
 
float L
 $L$ value. More...
 
float angle
 An angle. More...
 
float len0
 First length parameter. More...
 
float len1
 Second length parameter. More...
 
float length
 Length of segment. More...
 

Detailed Description

Segemnt structure.

Author
Robert Heller <heller@deepsoft.com>

Member Enumeration Documentation

◆ GrType

Graphic types.

Enumerator

Straight segment.

Curved (circular) segment.

Curved (spiral easement) segment.

Member Data Documentation

◆ ang0

float Parsers::SegVector::ang0

First angle.

◆ ang1

float Parsers::SegVector::ang1

Second angle.

◆ angle

float Parsers::SegVector::angle

An angle.

◆ ePos1

SegPos Parsers::SegVector::ePos1

First end point position.

◆ ePos2

SegPos Parsers::SegVector::ePos2

Second end point position.

◆ gPos1

SegPos Parsers::SegVector::gPos1

First graphic position.

◆ gPos2

SegPos Parsers::SegVector::gPos2

Second graphic position.

◆ L

float Parsers::SegVector::L

$L$ value.

◆ len0

float Parsers::SegVector::len0

First length parameter.

◆ len1

float Parsers::SegVector::len1

Second length parameter.

◆ length

float Parsers::SegVector::length

Length of segment.

◆ R

float Parsers::SegVector::R

$R$ value.

◆ radius

float Parsers::SegVector::radius

Radius value.

◆ tgType

GrType Parsers::SegVector::tgType

Segment type.