Skip to content
Permalink
Browse files

add isnan to qgis.h

git-svn-id: http://svn.osgeo.org/qgis/trunk@14601 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 13, 2010
1 parent a5b0f81 commit f275cd2e5263fde058463565106ec644eaa5a485
@@ -18,15 +18,6 @@
#include "qgsinterpolator.h"
#include "qgsvectordataprovider.h"
#include "qgsgeometry.h"
#ifndef Q_OS_MACX
#include <cmath>
#else
#include <math.h>
#endif
#ifdef WIN32
#include <float.h>
#define isnan(f) _isnan(f)
#endif

QgsInterpolator::QgsInterpolator( const QList<LayerData>& layerData ): mDataIsCached( false ), mLayerData( layerData )
{
@@ -27,16 +27,6 @@
#include "qgsvectorlayer.h"
#include <QProgressDialog>

#ifndef Q_OS_MACX
#include <cmath>
#else
#include <math.h>
#endif
#ifdef WIN32
#include <float.h>
#define isnan(f) _isnan(f)
#endif

QgsTINInterpolator::QgsTINInterpolator( const QList<LayerData>& inputData, TIN_INTERPOLATION interpolation, bool showProgressDialog ): QgsInterpolator( inputData ), mTriangulation( 0 ), \
mTriangleInterpolator( 0 ), mIsInitialized( false ), mShowProgressDialog( showProgressDialog ), mExportTriangulationToFile( false ), mInterpolation( interpolation )
{
@@ -22,6 +22,16 @@
#include <QString>
#include <cfloat>

#ifndef Q_OS_MACX
#include <cmath>
#else
#include <math.h>
#endif
#ifdef WIN32
#include <float.h>
#define isnan(f) _isnan(f)
#endif

/** \ingroup core
* The QGis class provides global constants for use throughout the application.
*/
@@ -20,12 +20,11 @@
#ifndef QGSCLIPPER_H
#define QGSCLIPPER_H

#include "qgis.h"
#include "qgspoint.h"

#include <vector>
#include <utility>
#include <cmath>
#include <iostream>

/** \ingroup core
* A class to trim lines and polygons to within a rectangular region.

0 comments on commit f275cd2

Please sign in to comment.
You can’t perform that action at this time.