Gets the cross slope value at the specified station for the indicated segment type.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public double GetCrossSlopeAtStation( double station, SuperelevationCrossSegmentType crossSegmentType, bool applySmoothing )
VB
Public Function GetCrossSlopeAtStation ( station As Double, crossSegmentType As SuperelevationCrossSegmentType, applySmoothing As Boolean ) As Double
C++
public: double GetCrossSlopeAtStation( double station, SuperelevationCrossSegmentType crossSegmentType, bool applySmoothing )
Parameters
- station Double
- The station value on the alignment object.
- crossSegmentType SuperelevationCrossSegmentType
- The type of a Superelevation cross segment.
- applySmoothing Boolean
- The bool value representing whether smoothing should be considered when calculating the cross slope.
Return Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the station value is out of the range of alignment's station. |
InvalidOperationException |
Thrown when:
|