QGIS API Documentation
3.99.0-Master (752b475928d)
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 "
qgs3dmapsettings.h
"
20
#include "
qgs3dutils.h
"
21
#include "
qgsfeaturerequest.h
"
22
#include "
qgsvectorlayer.h
"
23
25
26
void
QgsFeature3DHandler::updateZRangeFromPositions(
const
QVector<QVector3D> &positions )
27
{
28
for
(
const
QVector3D &pos : positions )
29
{
30
if
( pos.z() < mZMin )
31
mZMin = pos.z();
32
if
( pos.z() > mZMax )
33
mZMax = pos.z();
34
}
35
}
36
qgs3dmapsettings.h
qgs3dutils.h
qgsfeature3dhandler_p.h
qgsfeaturerequest.h
qgsvectorlayer.h
Generated on
for QGIS API Documentation by
1.15.0