File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,6 @@ email : marco.hugentobler at sourcepole dot com
21
21
#include " qgswkbtypes.h"
22
22
#include " qgswkbptr.h"
23
23
24
- #ifdef _MSC_VER
25
- // for M_PI_2
26
- #define _USE_MATH_DEFINES
27
- #include < math.h>
28
- #endif
29
-
30
24
#include < QString>
31
25
32
26
class QgsMapToPixel ;
@@ -305,7 +299,7 @@ class CORE_EXPORT QgsAbstractGeometryV2
305
299
* @param tolerance segmentation tolerance
306
300
* @param toleranceType maximum segmentation angle or maximum difference between approximation and curve
307
301
*/
308
- virtual QgsAbstractGeometryV2* segmentize ( double tolerance = M_PI_2 / 90 , SegmentationToleranceType toleranceType = MaximumAngle ) const ;
302
+ virtual QgsAbstractGeometryV2* segmentize ( double tolerance = M_PI / 180 . , SegmentationToleranceType toleranceType = MaximumAngle ) const ;
309
303
310
304
/* * Returns the geometry converted to the more generic curve type.
311
305
E.g. QgsLineStringV2 -> QgsCompoundCurveV2, QgsPolygonV2 -> QgsCurvePolygonV2,
You can’t perform that action at this time.
0 commit comments