GetCrossSlopeAtStation Method

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.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

ExceptionCondition
System.ArgumentException Thrown when the station value is out of the range of alignment's station.
System.InvalidOperationException Thrown when:
  1. The crossSegmentType is invalid for the SuperelevationCriticalStation object at that station.
  2. The slope value is clear on the specified crossSegmentType.

See Also