Gets the station set according to the StationType, intervals and station range.
public Station[] GetStationSet( StationTypes stationType, double majorInterval, double minorInterval, double startStation, double endStation )
Public Function GetStationSet ( stationType As StationTypes, majorInterval As Double, minorInterval As Double, startStation As Double, endStation As Double ) As Station()
public: array<Station^>^ GetStationSet( StationTypes stationType, double majorInterval, double minorInterval, double startStation, double endStation )
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if the value of majorInterval or minorInterval is negative. |
| ArgumentException | Thrown if the value of startStation or endStation is out of station range of the alignment or start station is less than end station. |