Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::LocalOrigin Class Reference

#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
 

Detailed Description

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.

Member Function Documentation

◆ getGeneration()

unsigned long Maria3D::LocalOrigin::getGeneration ( ) const
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.


The documentation for this class was generated from the following files: