Gets the headlight sight distance with the given headlight angle and headlight height.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: 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
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.
|
See Also