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