AlignmentGetCrossSlopeAtStation Method |
Gets the cross slope value at the specified station for the indicated segment type.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntaxpublic double GetCrossSlopeAtStation(
double station,
SuperelevationCrossSegmentType crossSegmentType,
bool applySmoothing
)
Public Function GetCrossSlopeAtStation (
station As Double,
crossSegmentType As SuperelevationCrossSegmentType,
applySmoothing As Boolean
) As Double
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
Double
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the station value is out of the range of alignment's station.
|
InvalidOperationException |
Thrown when:
- The crossSegmentType is invalid for the SuperelevationCriticalStation object at that station.
- The slope value is clear on the specified crossSegmentType.
|
See Also