Go to the source code of this file.
| DT_DLL_vrfutil bool isLocationInsideTurnCircle2D |
( |
const DtVector |
vehicleLocation, |
|
|
const double |
turnRadius, |
|
|
const double |
vehicleHeading, |
|
|
const DtVector |
testLocation |
|
) |
| |
Determines whether a location is inside the turn circle for a vehicle located at the given reference position. Locations are assumed to be in the same topographic coordinate system. Z values are ignored.
- Parameters
-
| vehicleLocation | The location of the subject vehicle. |
| turnRadius | The minimum turn radius of the vehicle (or the turn radius of interest). |
| vehicleHeading | The (true) compass heading of the vehicle. |
| testLocation | The location being tested for being inside the turn circle. |
| Boolean | True if the testLocation is inside the turn circle either to the left or the right. |