[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/data
Dennis Nienhüser
earthwings at gentoo.org
Thu Jul 29 21:12:59 CEST 2010
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;
/*!
More information about the Marble-commits
mailing list