VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
groundMovementKinematics.h File Reference

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)
 

Function Documentation

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
vehicleLocationThe location of the subject vehicle.
turnRadiusThe minimum turn radius of the vehicle (or the turn radius of interest).
vehicleHeadingThe (true) compass heading of the vehicle.
testLocationThe location being tested for being inside the turn circle.
BooleanTrue 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.


Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)