18#include "moc_qgsgeotransform.cpp"
22QgsGeoTransform::QgsGeoTransform( Qt3DCore::QNode *parent )
26void QgsGeoTransform::setGeoTranslation(
const QgsVector3D &translation )
28 mTranslation = translation;
29 setTranslation( ( mTranslation - mOrigin ).toVector3D() );
32void QgsGeoTransform::setOrigin(
const QgsVector3D &origin )
35 setTranslation( ( mTranslation - mOrigin ).toVector3D() );
A 3D vector (similar to QVector3D) with the difference that it uses double precision instead of singl...