QGIS API Documentation 4.3.0-Master (16649ce5cc6)
Loading...
Searching...
No Matches
qgsglobeutils_p.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsvectorlayerchunkloader_p.h
3 --------------------------------------
4 Date : September 2026
5 Copyright : (C) 2026 by Dominik Cindric
6 Email : viper dot miniq at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSGLOBEUTILS_P_H
17#define QGSGLOBEUTILS_P_H
18
20
21//
22// W A R N I N G
23// -------------
24//
25// This file is not part of the QGIS API. It exists purely as an
26// implementation detail. This header file may change from version to
27// version without notice, or even be removed.
28//
29
30#include "qgis.h"
31#include "qgsbox3d.h"
32#include "qgschunknode.h"
33#include "qgsrectangle.h"
34#include "qgsvector3d.h"
35
36#define SIP_NO_FILE
37
39
48class QgsGlobeUtils
49{
50 public:
52 static QgsRectangle nodeIdToLonLatRect( QgsChunkNodeId id );
53
55 static QgsChunkNodeId findSmallestIdContainingExtent( const QgsRectangle &lonLatExtent );
56
58 static QgsVector3D ellipsoidRadius( const QgsCoordinateTransform &globeCrsToLatLon );
59
61 static QgsBox3D nodeIdToBox3D( QgsChunkNodeId id, const QgsCoordinateTransform &globeCrsToLatLon );
62};
63
65
66#endif // QGSGLOBEUTILS_P_H
Handles coordinate transforms between two coordinate systems.