mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix compiling
This commit is contained in:
parent
55db2abc5c
commit
239dc71d43
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user