Skip to content
Permalink
Browse files

Fix compiling

  • Loading branch information
m-kuhn committed Jun 1, 2015
1 parent 55db2ab commit 239dc71d438ca9c3720d0bb4301ea35a72d13917
Showing with 10 additions and 3 deletions.
  1. +9 −0 src/core/geometry/qgsabstractgeometryv2.cpp
  2. +1 −3 src/core/geometry/qgsabstractgeometryv2.h
@@ -63,6 +63,15 @@ bool QgsAbstractGeometryV2::isMeasure() const
return ( mWkbType >= 2001 && mWkbType <= 3012 );
}

void QgsAbstractGeometryV2::clip( const QgsRectangle& rect )
{
// TODO
// - Implementation
// - API doc in header

// Don't insert Q_UNUSED, so we have a warning that reminds us of this TODO
}

void QgsAbstractGeometryV2::setZMTypeFromSubGeometry( const QgsAbstractGeometryV2* subgeom, QgsWKBTypes::Type baseGeomType )
{
if ( !subgeom )
@@ -223,9 +223,7 @@ class CORE_EXPORT QgsAbstractGeometryV2
*/
virtual void transform( const QTransform& t ) = 0;

#if 0
virtual void clip( const QgsRectangle& rect ) { Q_UNUSED( rect ); } //todo
#endif
virtual void clip( const QgsRectangle& rect ); //todo

/** Draws the geometry using the specified QPainter.
* @param p destination QPainter

0 comments on commit 239dc71

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