| 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.
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.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/vrvUtil/coordUtils.h