C# Class SimShift.MapTool.Ets2Prefab

Exibir arquivo Open project: nlhans/SimShift Class Usage Examples

Public Properties

Property Type Description
Curves List
IDSII string
IDX int
Nodes List

Public Methods

Method Description
Ets2Prefab ( Ets2Mapper mapper, string file ) : System
GeneratePolygonCurves ( Ets2Node node, int nodeOr ) : IEnumerable>
GeneratePolygonForRoute ( Ets2PrefabRoute route, Ets2Node node, int nodeOr ) : IEnumerable
GetAllRoutes ( ) : IEnumerable
GetRoute ( int entryNode, IndicatorSignal signal ) : Ets2PrefabRoute
GetRoute ( int entryNode, int exitNode ) : IEnumerable
GetRouteOptions ( int entryNodeId ) : IEnumerable
IsFile ( string file ) : bool

Private Methods

Method Description
FindExitNode ( Ets2PrefabCurve c ) : Ets2PrefabNode
FindStartNode ( Ets2PrefabCurve c ) : Ets2PrefabNode
IterateCurves ( IEnumerable list, Ets2PrefabCurve curve, bool forwardDirection ) : IEnumerable>
Parse ( ) : void

Method Details

Ets2Prefab() public method

public Ets2Prefab ( Ets2Mapper mapper, string file ) : System
mapper Ets2Mapper
file string
return System

GeneratePolygonCurves() public method

public GeneratePolygonCurves ( Ets2Node node, int nodeOr ) : IEnumerable>
node Ets2Node
nodeOr int
return IEnumerable>

GeneratePolygonForRoute() public method

public GeneratePolygonForRoute ( Ets2PrefabRoute route, Ets2Node node, int nodeOr ) : IEnumerable
route Ets2PrefabRoute
node Ets2Node
nodeOr int
return IEnumerable

GetAllRoutes() public method

public GetAllRoutes ( ) : IEnumerable
return IEnumerable

GetRoute() public method

public GetRoute ( int entryNode, IndicatorSignal signal ) : Ets2PrefabRoute
entryNode int
signal IndicatorSignal
return Ets2PrefabRoute

GetRoute() public method

public GetRoute ( int entryNode, int exitNode ) : IEnumerable
entryNode int
exitNode int
return IEnumerable

GetRouteOptions() public method

public GetRouteOptions ( int entryNodeId ) : IEnumerable
entryNodeId int
return IEnumerable

IsFile() public method

public IsFile ( string file ) : bool
file string
return bool

Property Details

Curves public_oe property

public List Curves
return List

IDSII public_oe property

public string IDSII
return string

IDX public_oe property

public int IDX
return int

Nodes public_oe property

public List Nodes
return List