Skip to content

Commit

Permalink
#8725: Refactoring to simplifier classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuarte47 committed Dec 12, 2013
1 parent affd78a commit 5ceb9ae
Show file tree
Hide file tree
Showing 19 changed files with 998 additions and 658 deletions.
2 changes: 2 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ SET(QGIS_CORE_SRCS
qgsgeometry.cpp
qgsgeometrycache.cpp
qgsgeometryvalidator.cpp
qgsgeometrysimplifier.cpp
qgsgml.cpp
qgsgmlschema.cpp
qgshttptransaction.cpp
Expand All @@ -85,6 +86,7 @@ SET(QGIS_CORE_SRCS
qgsmaplayerregistry.cpp
qgsmaprenderer.cpp
qgsmaptopixel.cpp
qgsmaptopixelgeometrysimplifier.cpp
qgsmessageoutput.cpp
qgsmimedatautils.cpp
qgsmessagelog.cpp
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ const CORE_EXPORT QString GEO_NONE = "NONE";

const double QGis::DEFAULT_IDENTIFY_RADIUS = 0.5;

//! Default threshold between map coordinates and device coordinates for map2pixel simplification
const float QGis::DEFAULT_MAPTOPIXEL_THRESHOLD = 1.0f;

// description strings for units
// Order must match enum indices
const char* QGis::qgisUnitTypes[] =
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgis.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ class CORE_EXPORT QGis

static const double DEFAULT_IDENTIFY_RADIUS;

//! Default threshold between map coordinates and device coordinates for map2pixel simplification
static const float DEFAULT_MAPTOPIXEL_THRESHOLD;

private:
// String representation of unit types (set in qgis.cpp)
static const char *qgisUnitTypes[];
Expand Down

0 comments on commit 5ceb9ae

Please sign in to comment.