Share

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

Double

Exceptions

ExceptionCondition
ArgumentException Thrown when the station value is out of the range of alignment's station.
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

Reference

Was this information helpful?