iLand
Functions
gisgrid.cpp File Reference
#include "gisgrid.h"
#include <stdexcept>
#include "helper.h"
#include "globalsettings.h"
#include "model.h"

Functions

void setupGISTransformation (double offsetx, double offsety, double offsetz, double angle_degree)
 GIS Transformation The transformation is defined by three offsets (x,y,z) and a rotation information. More...
 
void worldToModel (const Vector3D &From, Vector3D &To)
 
void modelToWorld (const Vector3D &From, Vector3D &To)
 

Function Documentation

◆ modelToWorld()

void modelToWorld ( const Vector3D From,
Vector3D To 
)

◆ setupGISTransformation()

void setupGISTransformation ( const double  offsetx,
const double  offsety,
const double  offsetz,
const double  angle_degree 
)

GIS Transformation The transformation is defined by three offsets (x,y,z) and a rotation information.

the (x/y) denotes the real-world coordinates of the left lower edge of the grid (at least for the northern hemisphere), i.e. the (0/0). The z-offset is currently not used.

◆ worldToModel()

void worldToModel ( const Vector3D From,
Vector3D To 
)