GetSlope Method

Returns the slope at the specified segment type.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0

Syntax

C#

public double GetSlope(
	SuperelevationCrossSegmentType crossSegmentType
)

Visual Basic

Public Function GetSlope ( _
	crossSegmentType As SuperelevationCrossSegmentType _
) As Double

Visual C++

public:
double GetSlope(
	SuperelevationCrossSegmentType crossSegmentType
)

Parameters

crossSegmentType
Type: Autodesk.Civil.SuperelevationCrossSegmentType
The type of a Superelevation cross segment.

Exceptions

ExceptionCondition
System.InvalidOperationException Thrown when:
  1. The crossSegmentType is invalid for the current SuperelevationCriticalStation object.
  2. The slope value is clear on the specified crossSegmentType.

See Also