Sets the headlight sight distance with the given headlight angle and headlight height.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public void SetHeadlightSightDistance( double maxAngle, double headlightHeight, double distance )
Visual Basic
Public Sub SetHeadlightSightDistance ( _ maxAngle As Double, _ headlightHeight As Double, _ distance As Double _ )
Visual C++
public: void SetHeadlightSightDistance( double maxAngle, double headlightHeight, double distance )
Parameters
- maxAngle
- Type: System.Double
Headlight Angle.
- headlightHeight
- Type: System.Double
Headlight Height.
- distance
- Type: System.Double
New Headlight Sight Distance value.
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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the input parameter is out of range (negative, unable to resolve etc). |
System.InvalidOperationException | Thrown when CurveType property is Crest. |