AddWidening Method

Adds a widening with two 0-length linear transitions to the Offset Alignment.

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

Syntax

C#

public void AddWidening(
	double startStation,
	double endStation,
	double offsetDistance
)

Visual Basic

Public Sub AddWidening ( _
	startStation As Double, _
	endStation As Double, _
	offsetDistance As Double _
)

Visual C++

public:
void AddWidening(
	double startStation, 
	double endStation, 
	double offsetDistance
)

Parameters

startStation
Type: System.Double
The start station of the widening.
endStation
Type: System.Double
The end station of the widening.
offsetDistance
Type: System.Double
The offset distance value from the parent alignment.

Remarks

This method will create a specific region from startStation to endStation with slim entry transition and exit transition.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when:
  1. The startStation or endStation is out of offset alignment's station range.
  2. The endStation is smaller than or equal to the startStation.
  3. The offsetDistance value is smaller than 0 or no solution found with the specific offsetDistance value according to the other constaints.

See Also