[mapguide-commits] r5241 - in trunk/MgDev/Common: CoordinateSystem Geometry/CoordinateSystem

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Oct 4 13:04:54 EDT 2010


Author: NormOlsen
Date: 2010-10-04 17:04:54 +0000 (Mon, 04 Oct 2010)
New Revision: 5241

Modified:
   trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.cpp
   trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.h
   trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h
Log:
Part of RFC-98; adding Useful Range capability to the Geodetic Transformation API.

Modified: trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.cpp
===================================================================
--- trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.cpp	2010-10-04 11:44:03 UTC (rev 5240)
+++ trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.cpp	2010-10-04 17:04:54 UTC (rev 5241)
@@ -352,3 +352,7 @@
 DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,ConvergenceValue,double,this->transformDefinition->cnvrgValue)
 DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,ErrorValue,double,this->transformDefinition->errorValue)
 DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,Accuracy,double,this->transformDefinition->accuracy)
+DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,RangeMinLongitude,double,this->transformDefinition->rangeMinLng)
+DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,RangeMaxLongitude,double,this->transformDefinition->rangeMaxLng)
+DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,RangeMinLatitude,double,this->transformDefinition->rangeMinLat)
+DEFINE_GET_SET_NUMERIC(CCoordinateSystemGeodeticTransformDef,RangeMaxLatitude,double,this->transformDefinition->rangeMaxLat)

Modified: trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.h
===================================================================
--- trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.h	2010-10-04 11:44:03 UTC (rev 5240)
+++ trunk/MgDev/Common/CoordinateSystem/CoordSysGeodeticTransformDef.h	2010-10-04 17:04:54 UTC (rev 5241)
@@ -76,6 +76,18 @@
     virtual double GetAccuracy();
     virtual void SetAccuracy(double accuracy);
 
+    virtual double GetRangeMinLongitude();
+    virtual void SetRangeMinLongitude(double minLong);
+
+    virtual double GetRangeMaxLongitude();
+    virtual void SetRangeMaxLongitude(double maxLong);
+
+    virtual double GetRangeMinLatitude();
+    virtual void SetRangeMinLatitude(double minLat);
+
+    virtual double GetRangeMaxLatitude();
+    virtual void SetRangeMaxLatitude(double maxLat);
+
     virtual MgCoordinateSystemGeodeticTransformDefParams* GetParameters();
     virtual void SetParameters(MgCoordinateSystemGeodeticTransformDefParams* parameters);
     //end properties

Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h	2010-10-04 11:44:03 UTC (rev 5240)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h	2010-10-04 17:04:54 UTC (rev 5241)
@@ -75,6 +75,18 @@
     virtual double GetAccuracy() = 0;
     virtual void SetAccuracy(double accuracy) = 0;
 
+    virtual double GetRangeMinLongitude() = 0;
+    virtual void SetRangeMinLongitude(double minLong) = 0;
+
+    virtual double GetRangeMaxLongitude() = 0;
+    virtual void SetRangeMaxLongitude(double maxLong) = 0;
+
+    virtual double GetRangeMinLatitude() = 0;
+    virtual void SetRangeMinLatitude(double minLat) = 0;
+
+    virtual double GetRangeMaxLatitude() = 0;
+    virtual void SetRangeMaxLatitude(double maxLat) = 0;
+
     //END: struct cs_GeodeticTransform_
 
     virtual bool IsProtected() = 0;



More information about the mapguide-commits mailing list