[mapguide-commits] r7248 - trunk/MgDev/Common/Geometry/CoordinateSystem
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sat Dec 8 06:20:55 PST 2012
Author: jng
Date: 2012-12-08 06:20:55 -0800 (Sat, 08 Dec 2012)
New Revision: 7248
Modified:
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformDefParams.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformDefParams.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPath.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPathElement.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFile.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFileFormat.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformation.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridGeneric.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridOrientation.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridSpecializationType.h
trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGrids.h
Log:
#2097: More API commentary for MgGeometry. Also fix some malformed doxygen directives
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformDefParams.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformDefParams.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformDefParams.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -33,39 +33,205 @@
PUBLISHED_API:
//BEGIN: struct csGeodeticXformParmsGeocentric
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the X delta of this instance
+ ///
+ /// \return
+ /// The X delta of this instance
+ ///
virtual double GetDeltaX() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the X delta of this instance
+ ///
+ /// \param deltaX (double)
+ /// The X delta
+ ///
virtual void SetDeltaX(double deltaX) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the Y delta of this instance
+ ///
+ /// \return
+ /// The Y delta of this instance
+ ///
virtual double GetDeltaY() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the Y delta of this instance
+ ///
+ /// \param deltaY (double)
+ /// The Y delta
+ ///
virtual void SetDeltaY(double deltaY) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the Z delta of this instance
+ ///
+ /// \return
+ /// The Z delta of this instance
+ ///
virtual double GetDeltaZ() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the Z delta of this instance
+ ///
+ /// \param deltaZ (double)
+ /// The Z delta
+ ///
virtual void SetDeltaZ(double deltaZ) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the X rotation of this instance
+ ///
+ /// \return
+ /// The X rotation of this instance
+ ///
virtual double GetRotateX() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the X rotation of this instance
+ ///
+ /// \param rotateX (double)
+ /// The X rotation
+ ///
virtual void SetRotateX(double rotateX) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the Y rotation of this instance
+ ///
+ /// \return
+ /// The Y rotation of this instance
+ ///
virtual double GetRotateY() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the Y rotation of this instance
+ ///
+ /// \param rotateY (double)
+ /// The Y rotation
+ ///
virtual void SetRotateY(double rotateY) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the Z rotation of this instance
+ ///
+ /// \return
+ /// The Z rotation of this instance
+ ///
virtual double GetRotateZ() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the Z rotation of this instance
+ ///
+ /// \param rotateZ (double)
+ /// The Z rotation
+ ///
virtual void SetRotateZ(double rotateZ) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the scale of this instance
+ ///
+ /// \return
+ /// The scale of this instance
+ ///
virtual double GetScale() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the scale of this instance
+ ///
+ /// \param scale (double)
+ /// The scale
+ ///
virtual void SetScale(double scale) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the X translation of this instance
+ ///
+ /// \return
+ /// The X translation of this instance
+ ///
virtual double GetTranslateX() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the X translation of this instance
+ ///
+ /// \param translateX (double)
+ /// The X translation
+ ///
virtual void SetTranslateX(double translateX) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the Y translation of this instance
+ ///
+ /// \return
+ /// The Y translation of this instance
+ ///
virtual double GetTranslateY() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the Y translation of this instance
+ ///
+ /// \param translateY (double)
+ /// The Y translation
+ ///
virtual void SetTranslateY(double translateY) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the Z translation of this instance
+ ///
+ /// \return
+ /// The Z translation of this instance
+ ///
virtual double GetTranslateZ() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the Z translation of this instance
+ ///
+ /// \param translateZ (double)
+ /// The Z translation
+ ///
virtual void SetTranslateZ(double translateZ) = 0;
//END: struct csGeodeticXformParmsGeocentric
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the transformation method of this instance
+ ///
+ /// \return
+ /// The transformation method of this instance
+ ///
virtual INT32 GetTransformationMethod() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the transformation method of this instance
+ ///
+ /// \param analyticalMethodCode (int)
+ /// The transformation method
+ ///
virtual void SetTransformationMethod(INT32 analyticalMethodCode) = 0;
protected:
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticAnalyticalTransformationMethod.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -33,18 +33,71 @@
class MG_GEOMETRY_API MgCoordinateSystemGeodeticAnalyticalTransformationMethod
{
PUBLISHED_API:
-
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// None
+ ///
static const INT32 None = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Three Parameter
+ ///
static const INT32 ThreeParameter = 8193; //cs_DTCMTH_3PARM
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Molodensky
+ ///
static const INT32 Molodensky = 8194; //cs_DTCMTH_MOLOD
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Abridged Molodensky
+ ///
static const INT32 AbridgedMolodensky = 8195; //cs_DTCMTH_AMOLO
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Geocentric
+ ///
static const INT32 Geocentric = 8196; //cs_DTCMTH_GEOCT
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Four Parameter
+ ///
static const INT32 FourParameter = 8197; //cs_DTCMTH_4PARM
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Six Parameter
+ ///
static const INT32 SixParameter = 8198; //cs_DTCMTH_6PARM
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Bursa
+ ///
static const INT32 Bursa = 8199; //cs_DTCMTH_BURSA
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Frame
+ ///
static const INT32 Frame = 8200; //cs_DTCMTH_FRAME
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Seven Parameter
+ ///
static const INT32 SevenParameter = 8201; //cs_DTCMTH_7PARM
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Molodensky Badekas
+ ///
static const INT32 MolodenskyBadekas = 8202; //cs_DTCMTH_BDKAS
};
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformDefParams.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformDefParams.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformDefParams.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -42,45 +42,255 @@
//virtual UINT32 GetHeightBitmap(INT32 index) = 0; // range [0..3]; long compiles as 32 bit in MS VC;
//virtual void SetHeightBitmap(INT32 index, UINT32 value) = 0; //long compiles as 32 bit in MS VC;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the validation value of this instance
+ ///
+ /// \return
+ /// The validation value of this instance
+ ///
virtual double GetValidation() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the validation value of this instance
+ ///
+ /// \param validation (double)
+ /// The validation value
+ ///
virtual void SetValidation(double validation) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the test phi value of this instance
+ ///
+ /// \return
+ /// The test phi value of this instance
+ ///
virtual double GetTestPhi() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the test phi value of this instance
+ ///
+ /// \param testPhi (double)
+ /// The test phi value
+ ///
virtual void SetTestPhi(double testPhi) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the test lambda value of this instance
+ ///
+ /// \return
+ /// The test lambda value of this instance
+ ///
virtual double GetTestLambda() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the test lambda value of this instance
+ ///
+ /// \param testLambda (double)
+ /// The test lambda value
+ ///
virtual void SetTestLambda(double testLambda) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the delta phi value of this instance
+ ///
+ /// \return
+ /// The delta phi value of this instance
+ ///
virtual double GetDeltaPhi() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the delta phi value of this instance
+ ///
+ /// \param deltaPhi (double)
+ /// The delta phi value
+ ///
virtual void SetDeltaPhi(double deltaPhi) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the delta lambda value of this instance
+ ///
+ /// \return
+ /// The delta lambda value of this instance
+ ///
virtual double GetDeltaLambda() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the delta lambda value of this instance
+ ///
+ /// \param deltaLambda (double)
+ /// The delta lambda value
+ ///
virtual void SetDeltaLambda(double deltaLambda) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the delta height value of this instance
+ ///
+ /// \return
+ /// The delta height value of this instance
+ ///
virtual double GetDeltaHeight() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the delta height value of this instance
+ ///
+ /// \param deltaHeight (double)
+ /// The delta height value
+ ///
virtual void SetDeltaHeight(double deltaHeight) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the phi offset value of this instance
+ ///
+ /// \return
+ /// The phi offset value of this instance
+ ///
virtual double GetPhiOffset() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the phi offset value of this instance
+ ///
+ /// \param phiOffset (double)
+ /// The phi offset value
+ ///
virtual void SetPhiOffset(double phiOffset) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the lambda offet value of this instance
+ ///
+ /// \return
+ /// The lambda offet value of this instance
+ ///
virtual double GetLambdaOffset() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the lambda offet value of this instance
+ ///
+ /// \param lambdaOffset (double)
+ /// The lambda offet value
+ ///
virtual void SetLambdaOffset(double lambdaOffset) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the normalization scale of this instance
+ ///
+ /// \return
+ /// The normalization scale of this instance
+ ///
virtual double GetNormalizationScale() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the normalization scale of this instance
+ ///
+ /// \param NormalizationScale (double)
+ /// The normalization scale
+ ///
virtual void SetNormalizationScale(double NormalizationScale) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the coefficent phi value of this instance at the specified index
+ ///
+ /// \param index (int)
+ /// The index which to retrieve the coefficient phi value
+ ///
+ /// \return
+ /// The coefficent phi value of this instance at the specified index
+ ///
virtual double GetCoefficientPhi(INT32 index) = 0; // range [0..104]
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the coefficent phi value of this instance at the specified index
+ ///
+ /// \param index (int)
+ /// The index which to set the coefficient phi value
+ /// \param value (double)
+ /// The coefficient phi value
+ ///
virtual void SetCoefficientPhi(INT32 index, double value) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the coefficent lambda value of this instance at the specified index
+ ///
+ /// \param index (int)
+ /// The index which to retrieve the coefficient lambda value
+ ///
+ /// \return
+ /// The coefficent lambda value of this instance at the specified index
+ ///
virtual double GetCoefficientLambda(INT32 index) = 0; // range [0..104]
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the coefficent lambda value of this instance at the specified index
+ ///
+ /// \param index (int)
+ /// The index which to set the coefficient lambda value
+ /// \param value (double)
+ /// The coefficient lambda value
+ ///
virtual void SetCoefficientLambda(INT32 index, double value) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the coefficent height value of this instance at the specified index
+ ///
+ /// \param index (int)
+ /// The index which to retrieve the coefficient height value
+ ///
+ /// \return
+ /// The coefficent height value of this instance at the specified index
+ ///
virtual double GetCoefficientHeight(INT32 index) = 0; // range [0..104]
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the coefficent height value of this instance at the specified index
+ ///
+ /// \param index (int)
+ /// The index which to set the coefficient height value
+ /// \param value (double)
+ /// The coefficient height value
+ ///
virtual void SetCoefficientHeight(INT32 index, double value) = 0;
//END: struct csGeodeticXformParmsDmaMulReg
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the transformation method of this instance
+ ///
+ /// \return
+ /// The transformation method of this instance
+ ///
virtual INT32 GetTransformationMethod() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the transformation method of this instance
+ ///
+ /// \param mulRegTransformationMethod (int)
+ /// The transformation method
+ ///
virtual void SetTransformationMethod(INT32 mulRegTransformationMethod) = 0;
protected:
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticMultipleRegressionTransformationMethod.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -33,10 +33,22 @@
class MG_GEOMETRY_API MgCoordinateSystemGeodeticMultipleRegressionTransformationMethod
{
PUBLISHED_API:
-
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// None
+ ///
static const INT32 None = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Multiple Regression
+ ///
static const INT32 MultipleRegression = 20481; //cs_DTCMTH_MULRG
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// General Polynomial EPSG
+ ///
static const INT32 GeneralPolynomialEpsg = 20482; //cs_DTCMTH_PLYNM
};
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPath.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPath.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPath.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -37,34 +37,184 @@
//properties
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the path name of this geodetic path
+ ///
+ /// \return
+ /// The path name of this geodetic path
+ ///
virtual STRING GetPathName()=0;
- virtual void SetPathName(CREFSTRING)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the path name of this geodetic path
+ ///
+ /// \param sName (String/string)
+ /// The path name
+ ///
+ virtual void SetPathName(CREFSTRING sName)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the description of this geodetic path
+ ///
+ /// \return
+ /// The description of this geodetic path
+ ///
virtual STRING GetDescription()=0; /// __get
- virtual void SetDescription(CREFSTRING)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the description of this geodetic path
+ ///
+ /// \param sDescription (String/string)
+ /// The description
+ ///
+ virtual void SetDescription(CREFSTRING sDescription)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the group of this geodetic path
+ ///
+ /// \return
+ /// The group of this geodetic path
+ ///
virtual STRING GetGroup()=0; /// __get
- virtual void SetGroup(CREFSTRING)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the group of this geodetic path
+ ///
+ /// \param sGroup (String/string)
+ /// The group
+ ///
+ virtual void SetGroup(CREFSTRING sGroup)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the source of this geodetic path
+ ///
+ /// \return
+ /// The source of this geodetic path
+ ///
virtual STRING GetSource()=0; /// __get
- virtual void SetSource(CREFSTRING)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the source of this geodetic path
+ ///
+ /// \param sSource (String/string)
+ /// The source
+ ///
+ virtual void SetSource(CREFSTRING sSource)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the target datum of this geodetic path
+ ///
+ /// \return
+ /// The target datum of this geodetic path
+ ///
virtual STRING GetTargetDatum()=0; /// __get
- virtual void SetTargetDatum(CREFSTRING)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the target datum of this geodetic path
+ ///
+ /// \param sTargetDatum (String/string)
+ /// The target datum
+ ///
+ virtual void SetTargetDatum(CREFSTRING sTargetDatum)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the source datum of this geodetic path
+ ///
+ /// \return
+ /// The source datum of this geodetic path
+ ///
virtual STRING GetSourceDatum()=0; /// __get
- virtual void SetSourceDatum(CREFSTRING)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the source datum of this geodetic path
+ ///
+ /// \param sSourceDatum (String/string)
+ /// The source datum
+ ///
+ virtual void SetSourceDatum(CREFSTRING sSourceDatum)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the accuracy of this geodetic path
+ ///
+ /// \return
+ /// The accuracy of this geodetic path
+ ///
virtual double GetAccuracy()=0; /// __get
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the accuracy of this geodetic path
+ ///
+ /// \param accuracy (String/string)
+ /// The accuracy
+ ///
virtual void SetAccuracy(double accuracy)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this geodetic path is reversible
+ ///
+ /// \return
+ /// true if this geodetic path is reversible
+ ///
virtual bool GetIsReversible()=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets whether this geodetic path is reversible
+ ///
+ /// \param isReversible (boolean/bool)
+ /// true if reversible. false otherwise
+ ///
virtual void SetIsReversible(bool isReversible)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the EPSG code of of this geodetic path
+ ///
+ /// \return
+ /// The EPSG code of this geodetic path
+ ///
virtual INT32 GetEpsgCode()=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the EPSG code of of this geodetic path
+ ///
+ /// \param epsgCode (int)
+ /// the EPSG code
+ ///
virtual void SetEpsgCode(INT32 epsgCode)=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the EPSG variant of this geodetic path
+ ///
+ /// \return
+ /// The EPSG variant of this geodetic path
+ ///
virtual INT32 GetEpsgVariant()=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the EPSG variant of of this geodetic path
+ ///
+ /// \param epsgVariant (int)
+ /// the EPSG variant
+ ///
virtual void SetEpsgVariant(INT32 epsgVariant)=0;
///////////////////////////////////////////////////////////////////////////
@@ -92,7 +242,22 @@
/// this geodetic path instance will not take ownership of the elements.
virtual void SetPathElements(MgDisposableCollection* pathElements) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this geodetic path is protected
+ ///
+ /// \return
+ /// true if this geodetic path is protected. false otherwise
+ ///
virtual bool IsProtected() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this geodetic path is valid
+ ///
+ /// \return
+ /// true if this geodetic path is valid. false otherwise
+ ///
virtual bool IsValid() = 0;
///////////////////////////////////////////////////////////////////////////
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPathElement.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPathElement.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticPathElement.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -26,14 +26,58 @@
DECLARE_CLASSNAME(MgCoordinateSystemGeodeticPathElement)
PUBLISHED_API:
-
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the name of the transform in this element
+ ///
+ /// \return
+ /// The name of the transform in this element
+ ///
virtual STRING GetTransformName() = 0;
- virtual void SetTransformName(CREFSTRING) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the name of the transform in this element
+ ///
+ /// \param name (String/string)
+ /// The name of the transform
+ ///
+ virtual void SetTransformName(CREFSTRING name) = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Checks whether this path element is inversed
+ ///
+ /// \return
+ /// true if this element is inversed. false otherwise
+ ///
virtual bool GetIsInversed() = 0;
- virtual void SetIsInversed(bool) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets whether this path element is inversed
+ ///
+ /// \param bInversed (boolean/bool)
+ /// true if inversed, false if not inversed
+ ///
+ virtual void SetIsInversed(bool bInversed) = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Checks whether this path element is valid
+ ///
+ /// \return
+ /// true if this element is valid. false otherwise
+ ///
virtual bool IsValid() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Checks whether this path element is protected
+ ///
+ /// \return
+ /// true if this element is protected. false otherwise
+ ///
virtual bool IsProtected() = 0;
protected:
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformDef.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -36,60 +36,330 @@
//BEGIN: struct cs_GeodeticTransform_
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the transform name of this instance
+ ///
+ /// \return
+ /// The transform name of this instance
+ ///
virtual STRING GetTransformName() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the transform name of this instance
+ ///
+ /// \param name (String/string)
+ /// The transform name
+ ///
virtual void SetTransformName(CREFSTRING name) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the source datum of this instance
+ ///
+ /// \return
+ /// The source datum of this instance
+ ///
virtual STRING GetSourceDatum() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the source datum of this instance
+ ///
+ /// \param datumKey (String/string)
+ /// The source datum
+ ///
virtual void SetSourceDatum(CREFSTRING datumKey) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the target datum of this instance
+ ///
+ /// \return
+ /// The target datum of this instance
+ ///
virtual STRING GetTargetDatum() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the target datum of this instance
+ ///
+ /// \param datumKey (String/string)
+ /// The target datum
+ ///
virtual void SetTargetDatum(CREFSTRING datumKey) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the group of this instance
+ ///
+ /// \return
+ /// The group of this instance
+ ///
virtual STRING GetGroup() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the group of this instance
+ ///
+ /// \param group (String/string)
+ /// The group
+ ///
virtual void SetGroup(CREFSTRING group) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the description of this instance
+ ///
+ /// \return
+ /// The description of this instance
+ ///
virtual STRING GetDescription() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the description of this instance
+ ///
+ /// \param description (String/string)
+ /// The description
+ ///
virtual void SetDescription(CREFSTRING description) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the source of this instance
+ ///
+ /// \return
+ /// The source of this instance
+ ///
virtual STRING GetSource() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the source of this instance
+ ///
+ /// \param source (String/string)
+ /// The source
+ ///
virtual void SetSource(CREFSTRING source) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the EPSG code of this instance
+ ///
+ /// \return
+ /// The EPSG code of this instance
+ ///
virtual INT32 GetEpsgCode() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the EPSG code of this instance
+ ///
+ /// \param epsgCode (int)
+ /// The EPSG code
+ ///
virtual void SetEpsgCode(INT32 epsgCode) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the EPSG variation of this instance
+ ///
+ /// \return
+ /// The EPSG variation of this instance
+ ///
virtual INT32 GetEpsgVariation() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the EPSG variation of this instance
+ ///
+ /// \param epsgVariation (int)
+ /// The EPSG variation
+ ///
virtual void SetEpsgVariation(INT32 epsgVariation) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether the inverse is supported
+ ///
+ /// \return
+ /// true if this inverse is supported. false otherwise
+ ///
virtual bool GetInverseSupported() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets whether the inverse is supported
+ ///
+ /// \param inverseSupported (boolean/bool)
+ /// true if the inverse is supported. false otherwise
+ ///
virtual void SetInverseSupported(bool inverseSupported) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the maximum iterations of this instance
+ ///
+ /// \return
+ /// The maximum iterations of this instance
+ ///
virtual INT32 GetMaxIterations() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the maximum iterations of this instance
+ ///
+ /// \param maxIterations (int)
+ /// The maximum iterations
+ ///
virtual void SetMaxIterations(INT32 maxIterations) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the convergence value of this instance
+ ///
+ /// \return
+ /// The convergence value of this instance
+ ///
virtual double GetConvergenceValue() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the convergence value of this instance
+ ///
+ /// \param convergenceValue (double)
+ /// The convergence value
+ ///
virtual void SetConvergenceValue(double convergenceValue) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the error value of this instance
+ ///
+ /// \return
+ /// The error value of this instance
+ ///
virtual double GetErrorValue() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the error value of this instance
+ ///
+ /// \param errorValue (double)
+ /// The error value
+ ///
virtual void SetErrorValue(double errorValue) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the accuracy value of this instance
+ ///
+ /// \return
+ /// The accuracy value of this instance
+ ///
virtual double GetAccuracy() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the accuracy value of this instance
+ ///
+ /// \param accuracy (double)
+ /// The accuracy value
+ ///
virtual void SetAccuracy(double accuracy) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the minimum range longitude of this instance
+ ///
+ /// \return
+ /// The minimum range longitude of this instance
+ ///
virtual double GetRangeMinLongitude() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the minimum range longitude of this instance
+ ///
+ /// \param minLong (double)
+ /// The minimum range longitude
+ ///
virtual void SetRangeMinLongitude(double minLong) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the maximum range longitude of this instance
+ ///
+ /// \return
+ /// The maximum range longitude of this instance
+ ///
virtual double GetRangeMaxLongitude() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the maximum range longitude of this instance
+ ///
+ /// \param maxLong (double)
+ /// The maximum range longitude
+ ///
virtual void SetRangeMaxLongitude(double maxLong) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the minimum range latitude of this instance
+ ///
+ /// \return
+ /// The minimum range latitude of this instance
+ ///
virtual double GetRangeMinLatitude() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the minimum range latitude of this instance
+ ///
+ /// \param minLat (double)
+ /// The minimum range latitude
+ ///
virtual void SetRangeMinLatitude(double minLat) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the maximum range latitude of this instance
+ ///
+ /// \return
+ /// The maximum range latitude of this instance
+ ///
virtual double GetRangeMaxLatitude() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the maximum range latitude of this instance
+ ///
+ /// \param maxLat (double)
+ /// The maximum range latitude
+ ///
virtual void SetRangeMaxLatitude(double maxLat) = 0;
//END: struct cs_GeodeticTransform_
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this instance is protected
+ ///
+ /// \return
+ /// true if this instance is protected. false otherwise
+ ///
virtual bool IsProtected() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this instance is valid
+ ///
+ /// \return
+ /// true if this instance is valid. false otherwise
+ ///
virtual bool IsValid() = 0;
////////////////////////////////////////////////////////////////
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFile.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFile.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFile.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -68,10 +68,40 @@
/// to what's specified in the parent transformation definition.
virtual void SetIsInverseDirection(bool isInverseDirection) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the physical file name
+ ///
+ /// \return
+ /// The physical file name
+ ///
virtual STRING GetFileName() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the physical file name
+ ///
+ /// \param fileName (String/string)
+ /// The physical file name
+ ///
virtual void SetFileName(CREFSTRING fileName) = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this file is protected
+ ///
+ /// \return
+ /// true if this file is protected. false otherwise
+ ///
virtual bool IsProtected() = 0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets whether this file is valid
+ ///
+ /// \return
+ /// true if this file is valid. false otherwise
+ ///
virtual bool IsValid() = 0;
protected:
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFileFormat.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFileFormat.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformGridFileFormat.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -29,13 +29,46 @@
class MG_GEOMETRY_API MgCoordinateSystemGeodeticTransformGridFileFormat
{
PUBLISHED_API:
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// None
+ ///
+ static const INT32 None = 0;
- static const INT32 None = 0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// NTv1
+ ///
static const INT32 NTv1 = 1;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// NTv2
+ ///
static const INT32 NTv2 = 2;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// NADCON
+ ///
static const INT32 NADCON = 3;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// RGF
+ ///
static const INT32 RGF = 4;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// PAR
+ ///
static const INT32 PAR = 5;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// ATS77
+ ///
static const INT32 ATS77 = 6;
};
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformation.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformation.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformation.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -33,14 +33,71 @@
DECLARE_CLASSNAME(MgCoordinateSystemGeodeticTransformation)
PUBLISHED_API:
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Sets the source and target datums of this geodetic transformation
+ ///
+ /// \param pSource (MgCoordinateSystemDatum)
+ /// The source datum
+ /// \param pTarget (MgCoordinateSystemDatum)
+ /// The target datum
+ ///
virtual void SetSourceAndTarget(MgCoordinateSystemDatum *pSource, MgCoordinateSystemDatum *pTarget)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the source datum of this geodetic transformation
+ ///
+ /// \return
+ /// The source datum of this geodetic transformation
+ ///
virtual MgCoordinateSystemDatum* GetSource()=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Gets the target datum of this geodetic transformation
+ ///
+ /// \return
+ /// The target datum of this geodetic transformation
+ ///
virtual MgCoordinateSystemDatum* GetTarget()=0;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Shift this datum to the specified coordinate
+ ///
+ /// \param pLonLat (MgCoordinate)
+ /// The coordinate to shift to
+ ///
virtual void Shift(MgCoordinate* pLonLat)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Shift this datum to the specified longitude/latitude coordinate
+ ///
+ /// \param dLongitude (double)
+ /// The longitude coordinate to shift to
+ /// \param dLatitude (double)
+ /// The longitude coordinate to shift to
+ ///
virtual MgCoordinate* Shift(double dLongitude, double dLatitude)=0;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Shift this datum to the specified longitude/latitude/z coordinate
+ ///
+ /// \param dLongitude (double)
+ /// The longitude coordinate to shift to
+ /// \param dLatitude (double)
+ /// The longitude coordinate to shift to
+ /// \param dZ (double)
+ /// The Z coordinate to shift to
+ ///
virtual MgCoordinate* Shift(double dLongitude, double dLatitude, double dZ)=0;
+ //Is this stuff below deprecated? If so, tag with \deprecated
+
////////////////////////////////////////////////////////////////
/// \brief
/// Obsolete. Use MgCoordinateSystemGeodeticTransformDef and
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGeodeticTransformationMethod.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -28,44 +28,154 @@
class MG_GEOMETRY_API MgCoordinateSystemGeodeticTransformationMethod
{
PUBLISHED_API:
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// None
+ ///
static const INT32 None = 0;
- static const INT32 Molodensky = 1; // Use the Molodensky transformation to convert to WGS84
- static const INT32 MReg = 2; // Use the Multiple Regression Transformation formulas.
- // If such a definition is not available, default to the
- // Bursa/Wolfe Seven Parameter Transformation.
- static const INT32 Bursa = 3; // Use the Bursa/Wolfe to convert to WGS84, default to
- // Molodensky if the necessary parameters are not present.
- static const INT32 NAD27 = 4; // Use the NADCON or Canadian National Transformation
- // emulation as appropriate to convert to NAD83, and
- // consider the result to be WGS84 coordinates.
- static const INT32 NAD83 = 5; // Consider the coordinates to be WGS84 coordinates
- // already, no shift is to be performed.
- static const INT32 WGS84 = 6; // The coordinates are WGS84 coordinates already, no
- // datum shift is required
- static const INT32 WGS72 = 7; // Use an internal formula to convert to WGS84
- static const INT32 HPGN = 8; // Use the NADCOM algorithm, but use the HPGN data
- // files, to shift the coordinates to NAD83, then
- // consider the result to be WGS84 coordinates
- // without any further datum shift
- static const INT32 SevenParameter = 9; // Seven Parameter Transformation
- static const INT32 AGD66 = 10; // AGD66<->GDA94 via Grid Files
- static const INT32 ThreeParameter = 11; // Three Parameter Transformation - Obsolete technique that is kept around for backward compatibility
- static const INT32 SixParameter = 12; // Six Parameter Transformation
- static const INT32 FourParameter = 13; // Four Parameter Transformation
- static const INT32 AGD84 = 14; // AGD84<->GDA94 via Grid Files
- static const INT32 NZGD49 = 15; // NZGD49<->NZGD2K via Grid File
- static const INT32 ATS77 = 16; // ATS77<->NAD83 via Grid Files
- static const INT32 GDA94 = 17; // Is GDA94, no shift required.
- static const INT32 NZGD2K = 18; // Is NZGD2000, no shift required.
- static const INT32 CSRS = 19; // NAD83<->CSRS Via Grid Files.
- static const INT32 TOKYO = 20; // TOKYO<->JGD2k via Grid Files
- static const INT32 RGF93 = 21; // NTF<->RGF93 via Grid File
- static const INT32 ED50 = 22; // ED50 <--> ETRF89 via Grid Files
- static const INT32 DHDN = 23; // DHDN<->ETRF89 via Grid Files
- static const INT32 ETRF89 = 24; // Is ETRF89, no shift required
- static const INT32 Lclgrf = 99; // Local Geodetic Reference System
- static const INT32 Geocentric = 25; // Geocentric Translation
- static const INT32 CHENYX = 26; // Swiss Ch1903 to CH1903+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Use the Molodensky transformation to convert to WGS84
+ ///
+ static const INT32 Molodensky = 1;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Use the Multiple Regression Transformation formulas.
+ /// If such a definition is not available, default to the
+ /// Bursa/Wolfe Seven Parameter Transformation.
+ ///
+ static const INT32 MReg = 2;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Use the Bursa/Wolfe to convert to WGS84, default to
+ /// Molodensky if the necessary parameters are not present.
+ ///
+ static const INT32 Bursa = 3;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Use the NADCON or Canadian National Transformation
+ /// emulation as appropriate to convert to NAD83, and
+ /// consider the result to be WGS84 coordinates.
+ ///
+ static const INT32 NAD27 = 4;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Consider the coordinates to be WGS84 coordinates already, no shift is to be performed.
+ ///
+ static const INT32 NAD83 = 5;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// The coordinates are WGS84 coordinates already, no datum shift is required
+ ///
+ static const INT32 WGS84 = 6;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Use an internal formula to convert to WGS84
+ ///
+ static const INT32 WGS72 = 7;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Use the NADCOM algorithm, but use the HPGN data
+ /// files, to shift the coordinates to NAD83, then
+ /// consider the result to be WGS84 coordinates
+ /// without any further datum shift
+ ///
+ static const INT32 HPGN = 8;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Seven Parameter Transformation
+ ///
+ static const INT32 SevenParameter = 9;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// AGD66<->GDA94 via Grid Files
+ ///
+ static const INT32 AGD66 = 10;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Three Parameter Transformation - Obsolete technique that is kept around for backward compatibility
+ ///
+ static const INT32 ThreeParameter = 11;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Six Parameter Transformation
+ ///
+ static const INT32 SixParameter = 12;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Four Parameter Transformation
+ ///
+ static const INT32 FourParameter = 13;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// AGD84<->GDA94 via Grid Files
+ ///
+ static const INT32 AGD84 = 14;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// NZGD49<->NZGD2K via Grid File
+ ///
+ static const INT32 NZGD49 = 15;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// ATS77<->NAD83 via Grid Files
+ ///
+ static const INT32 ATS77 = 16;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Is GDA94, no shift required.
+ ///
+ static const INT32 GDA94 = 17;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Is NZGD2000, no shift required.
+ ///
+ static const INT32 NZGD2K = 18;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// NAD83<->CSRS Via Grid Files.
+ ///
+ static const INT32 CSRS = 19;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// TOKYO<->JGD2k via Grid Files
+ ///
+ static const INT32 TOKYO = 20;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// NTF<->RGF93 via Grid File
+ ///
+ static const INT32 RGF93 = 21;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// ED50 <--> ETRF89 via Grid Files
+ ///
+ static const INT32 ED50 = 22;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// DHDN<->ETRF89 via Grid Files
+ ///
+ static const INT32 DHDN = 23;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Is ETRF89, no shift required
+ ///
+ static const INT32 ETRF89 = 24;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Local Geodetic Reference System
+ ///
+ static const INT32 Lclgrf = 99;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Geocentric Translation
+ ///
+ static const INT32 Geocentric = 25;
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ /// \brief
+ /// Swiss Ch1903 to CH1903+
+ ///
+ static const INT32 CHENYX = 26;
};
/// \}
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridGeneric.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridGeneric.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridGeneric.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -18,6 +18,10 @@
#ifndef _MGCOORDINATESYSTEMGRIDGENERIC_H_
#define _MGCOORDINATESYSTEMGRIDGENERIC_H_
+////////////////////////////////////////////////////////////////
+/// \brief
+/// Generic grid generation object
+///
class MgCoordinateSystemGridGeneric : public MgCoordinateSystemGridBase
{
PUBLISHED_API:
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridOrientation.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridOrientation.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridOrientation.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -39,16 +39,20 @@
{
PUBLISHED_API:
///////////////////////////////////////////////////////////////////////////
- /// /brief Not specified yet, initialize to this value.
+ /// \brief Not specified yet, initialize to this value.
+ ///
static const INT8 None = 0;
///////////////////////////////////////////////////////////////////////////
- /// /brief The object represents a constant easting value.
+ /// \brief The object represents a constant easting value.
+ ///
static const INT8 EastWest = 1; // generally indicates a vertical grid line
///////////////////////////////////////////////////////////////////////////
- /// /brief The object represents a constant northing value.
+ /// \brief The object represents a constant northing value.
+ ///
static const INT8 NorthSouth = 2; // generally indicates a horizontal grid line
///////////////////////////////////////////////////////////////////////////
- /// /brief Indicates the failure of an algorithm or other problem.
+ /// \brief Indicates the failure of an algorithm or other problem.
+ ///
static const INT8 Unknown = 3; // indicates a failure of an algorithm
};
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridSpecializationType.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridSpecializationType.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGridSpecializationType.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -38,21 +38,31 @@
{
PUBLISHED_API:
///////////////////////////////////////////////////////////////////////////
- /// /brief Not specified yet, initialize to this value.
+ /// \brief
+ /// Not specified yet, initialize to this value.
+ ///
static const INT32 None = 0;
///////////////////////////////////////////////////////////////////////////
- /// /brief Generic grid of a specified coordinate system; may be
+ /// \brief
+ /// Generic grid of a specified coordinate system; may be
/// geographic or projected.
+ ///
static const INT32 Generic = 1; // Generic grid of a specified coordinate system;
// may be geographic or projected
///////////////////////////////////////////////////////////////////////////
- /// /brief Specialized grid: MGRS (Military Grid Reference System)
+ /// \brief
+ /// Specialized grid: MGRS (Military Grid Reference System)
+ ///
static const INT32 MGRS = 17;
///////////////////////////////////////////////////////////////////////////
- /// /brief Specialized grid: USNG (United States National Grid)
+ /// \brief
+ /// Specialized grid: USNG (United States National Grid)
+ ///
static const INT32 USNG = 18;
///////////////////////////////////////////////////////////////////////////
- /// /brief Indicates the failure of an algorithm or other problem.
+ /// \brief
+ /// Indicates the failure of an algorithm or other problem.
+ ///
static const INT32 Unknown = 65366;
};
Modified: trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGrids.h
===================================================================
--- trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGrids.h 2012-12-08 12:11:49 UTC (rev 7247)
+++ trunk/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystemGrids.h 2012-12-08 14:20:55 UTC (rev 7248)
@@ -718,9 +718,10 @@
/// \ingroup Coordinate_System_classes
/// \{
-//=============================================================================
-// Abstract base class for all grid generation objects (generic and
-// specialized).
+////////////////////////////////////////////////////////////////
+/// \brief
+/// Abstract base class for all grid generation objects (generic and
+/// specialized).
/// \since 2.2
class MG_GEOMETRY_API MgCoordinateSystemGridBase : public MgGuardDisposable
{
More information about the mapguide-commits
mailing list