QGIS API Documentation
3.40.0-Bratislava (b56115d8743)
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.y() < mZMin )
32
mZMin = pos.y();
33
if
( pos.y() > mZMax )
34
mZMax = pos.y();
35
}
36
}
37
qgs3dmapsettings.h
qgs3dutils.h
qgsfeature3dhandler_p.h
qgsfeaturerequest.h
qgsvectorlayer.h
Generated on Mon Oct 28 2024 22:06:03 for QGIS API Documentation by
1.9.8