Gets the headlight sight distance with the given headlight angle and headlight height.

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

Syntax

C#
public double GetHeadlightSightDistance(
	double maxAngle,
	double headlightHeight
)
Visual Basic
Public Function GetHeadlightSightDistance ( _
	maxAngle As Double, _
	headlightHeight As Double _
) As Double
Visual C++
public:
double GetHeadlightSightDistance(
	double maxAngle, 
	double headlightHeight
)

Parameters

maxAngle
Type: System..::..Double
Headlight Angle.
headlightHeight
Type: System..::..Double
Headlight Height.

Remarks

Only valid for sag curve. This design method for sag curves provides a minimum curve length. The curve must be long enough so that in dark driving conditions, the headlights of a standard vehicle illuminate the road a safe distance beyond the stopping distance for the designed speed of travel.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the input parameter is out of range (negative, unable to resolve etc).
System..::..InvalidOperationException Thrown when CurveType property is Crest.

See Also