QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
qgstiledsceneboundingvolume.h
Go to the documentation of this file.
1/***************************************************************************
2 qgstiledsceneboundingvolume.h
3 --------------------
4 begin : July 2023
5 copyright : (C) 2023 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ******************************************************************
8 ***************************************************************************/
9
10/***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
18
19#ifndef QGSTILEDSCENEBOUNDINGVOLUME_H
20#define QGSTILEDSCENEBOUNDINGVOLUME_H
21
22#include "qgis_core.h"
23#include "qgis_sip.h"
24#include "qgis.h"
25#include "qgsbox3d.h"
26#include "qgsmatrix4x4.h"
27#include "qgsorientedbox3d.h"
29
30class QgsMatrix4x4;
31
39{
40 public:
41
46
54
64
68 void transform( const QgsMatrix4x4 &transform );
69
73 bool intersects( const QgsOrientedBox3D &box ) const;
74
78 QgsOrientedBox3D box() const { return mBox; }
79
80 private:
81
83
84};
85
86#endif // QGSTILEDSCENEBOUNDINGVOLUME_H
TransformDirection
Indicates the direction (forward or inverse) of a transform.
Definition qgis.h:2502
@ Forward
Forward transform (from source to destination)
Abstract base class for all geometries.
A 3-dimensional box composed of x, y, z coordinates.
Definition qgsbox3d.h:43
Class for doing transforms between two map coordinate systems.
A simple 4x4 matrix implementation useful for transformation in 3D space.
Represents a oriented (rotated) box in 3 dimensions.
Represents a bounding volume for a tiled scene.
QgsOrientedBox3D box() const
Returns the volume's oriented box.
#define SIP_FACTORY
Definition qgis_sip.h:76