QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
3d
qgsfeature3dhandler_p.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsfeature3dhandler_p.cpp
3
--------------------------------------
4
Date : January 2019
5
Copyright : (C) 2019 by Martin Dobias
6
Email : wonder dot sk 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
17
#include "
qgsfeature3dhandler_p.h
"
18
19
#include "
qgsfeaturerequest.h
"
20
#include "
qgsvectorlayer.h
"
21
22
#include "
qgs3dmapsettings.h
"
23
#include "
qgs3dutils.h
"
24
26
27
void
QgsFeature3DHandler::updateZRangeFromPositions(
const
QVector<QVector3D> &positions )
28
{
29
for
(
const
QVector3D &pos : positions )
30
{
31
if
( pos.z() < mZMin )
32
mZMin = pos.z();
33
if
( pos.z() > mZMax )
34
mZMax = pos.z();
35
}
36
}
37
qgs3dmapsettings.h
qgs3dutils.h
qgsfeature3dhandler_p.h
qgsfeaturerequest.h
qgsvectorlayer.h
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8