![]() |
VR-Forces Developer's Guide
|
Go to the source code of this file.
Functions | |
| DT_DLL_vrfutil bool | isLocationInsideTurnCircle2D (const DtVector vehicleLocation, const double turnRadius, const double vehicleHeading, const DtVector testLocation) |
| DT_DLL_vrfutil bool | isLocationInsideTurnCircle (const DtVector vehicleLocation, const double turnRadius, const double vehicleHeading, const Coordinate_System *cs, const DtVector testLocation) |
| 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.
| 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. |
| DT_DLL_vrfutil bool isLocationInsideTurnCircle | ( | const DtVector | vehicleLocation, |
| const double | turnRadius, | ||
| const double | vehicleHeading, | ||
| const Coordinate_System * | cs, | ||
| const DtVector | testLocation | ||
| ) |
Same as isLocationInsideTurnCircle2D, but locations are all in local coordinates.