|
| static DtVector | findCenter (const std::vector< DtVector > &vertexList) |
| |
| static void | pack (const double pos[3], float pospack[4]) |
| |
| static void | unpack (const float pospack[4], double pos[3]) |
| |
| static float | closestSegmentPointToTestPoint (const DtVector &start, const DtVector &end, const DtVector &testPoint, DtVector &result) |
| |
| static void | setLatDtDegMinSecFromDegrees (DtDegMinSec &dmslat, double deg) |
| |
| static void | setLonDtDegMinSecFromDegrees (DtDegMinSec &dmslon, double deg) |
| |
| static void | utmToGeodetic (int zone, bool isNorth, double easting, double northing, DtGeodeticCoord &result) |
| |
| static DtVector makVrv::coordUtils::findCenter |
( |
const std::vector< DtVector > & |
vertexList | ) |
|
|
static |
Finds the center point of given list of points.
- Parameters
-
| vertexList | - List of vertices used to find center. |
- Returns
- - DtVector that contains the center of the vertexList
| static void makVrv::coordUtils::pack |
( |
const double |
pos[3], |
|
|
float |
pospack[4] |
|
) |
| |
|
static |
Pack some position expressed as 3 doubles into a position expressed as 4 floats.
| static void makVrv::coordUtils::unpack |
( |
const float |
pospack[4], |
|
|
double |
pos[3] |
|
) |
| |
|
static |
Unpack some position expressed as 4 floats into a position expressed as 3 doubles.
| static float makVrv::coordUtils::closestSegmentPointToTestPoint |
( |
const DtVector & |
start, |
|
|
const DtVector & |
end, |
|
|
const DtVector & |
testPoint, |
|
|
DtVector & |
result |
|
) |
| |
|
static |
Find the closest point on a line segment to a specified test point and return it through the parameter list. The function itself returns the distanceSq from the test point to the closest point.
| static void makVrv::coordUtils::setLatDtDegMinSecFromDegrees |
( |
DtDegMinSec & |
dmslat, |
|
|
double |
deg |
|
) |
| |
|
static |
Create a DtDegMinSec instance (needed for VR-Link's UTM Reference Points) from the specified degrees latitude value.
| static void makVrv::coordUtils::setLonDtDegMinSecFromDegrees |
( |
DtDegMinSec & |
dmslon, |
|
|
double |
deg |
|
) |
| |
|
static |
Create a DtDegMinSec instance (needed for VR-Link's UTM Reference Points) from the specified degrees longitude value.
| static void makVrv::coordUtils::utmToGeodetic |
( |
int |
zone, |
|
|
bool |
isNorth, |
|
|
double |
easting, |
|
|
double |
northing, |
|
|
DtGeodeticCoord & |
result |
|
) |
| |
|
static |
Convert UTM to a geodetic coord. Note that this assumes that the zone has been validated (1-60); and that standard offsets are used (500,000 adding to easting, 10,000 added to northing if below the equator)
| static void makVrv::coordUtils::setDtDegMinSecFromDegrees |
( |
DtDegMinSec & |
dms, |
|
|
double |
deg |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/vrvUtil/coordUtils.h