[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/lib/geodata/data
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2010-07-29 19:12:59
Message-ID: 20100729191259.A35D5AC7BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1156821 by nienhueser:

Don't hide the virtual method.

 M  +2 -2      GeoDataLinearRing.cpp  
 M  +1 -1      GeoDataLinearRing.h  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLinearRing.cpp #1156820:1156821
@@ -42,9 +42,9 @@
     return true;
 }
 
-qreal GeoDataLinearRing::length( qreal planetRadius ) const
+qreal GeoDataLinearRing::length( qreal planetRadius, int offset ) const
 {
-    qreal  length = GeoDataLineString::length( planetRadius );
+    qreal  length = GeoDataLineString::length( planetRadius, offset );
 
     return length + planetRadius * distanceSphere( last(), first() );
 }
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataLinearRing.h #1156820:1156821
@@ -109,7 +109,7 @@
     This method can be used as an approximation for the circumference of a
     LinearRing.
 */
-    virtual qreal length( qreal planetRadius ) const;
+    virtual qreal length( qreal planetRadius, int offset = 0 ) const;
 
     
 /*!
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic