Gets the headlight sight distance with the given headlight angle and headlight height.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public double GetHeadlightSightDistance( double maxAngle, double headlightHeight )
VB
Public Function GetHeadlightSightDistance ( maxAngle As Double, headlightHeight As Double ) As Double
C++
public: double GetHeadlightSightDistance( double maxAngle, double headlightHeight )
Parameters
- maxAngle Double
- Headlight Angle.
- headlightHeight Double
- Headlight Height.
Return Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the input parameter is out of range (negative, unable to resolve etc). |
InvalidOperationException | Thrown when CurveType property is Crest. |