![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <M3DLocalOrigin.h>
Public Member Functions | |
LocalOrigin (const STK::Vector3d &origin) | |
STK::Vector3d | getOrigin () const |
unsigned long | getGeneration () const |
void | setOrigin (const STK::Vector3d &origin) |
Static Public Attributes | |
static double | ToleranceSquared = 1e-6 |
LocalOrigin - Shared and threadsafe local origin object This value is used to translate all geocentric coordinates into a local coordinate system with smaller coordinate values, in order to improve precision when using single-precision floats.
|
inline |
Get generation count. This is an integer that will change each time the origin value is changed. It can be used the check if a transform needs to be recalculated for example.