MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgCoordinateSystem Class Reference
+ Inheritance diagram for MgCoordinateSystem:

List of all members.

Public Member Functions

virtual void CancelLonLatBounds ()=0
 Cancels only the range checking for coordinate transformations, if it has been enabled via SetLonLatBounds before. Specifically, calling this method does not reset the min/max values on the coordinate system definition itself. That is, when eventually writing this object to the dictionary, the min/max values will be written, too.
virtual void CancelXYBounds ()=0
 Cancels only the range checking for coordinate transformations, if it has been enabled via SetXYBounds.
virtual void ConvertCoordinateFromLonLat (MgCoordinate *lonLatToCoordinate)=0
 Converts the specified MgCoordinate in lon/lat units to coordinate system units.
virtual double ConvertCoordinateSystemUnitsToMeters (double units)=0
 Converts the given value in coordinate system units to meters.
virtual void ConvertCoordinateToLonLat (MgCoordinate *coordinateToLonLat)=0
 Converts the specified MgCoordinate in coordinate system units to lon/lat units.
virtual MgCoordinateConvertFromLonLat (MgCoordinate *lonLat)=0
 
virtual MgCoordinateConvertFromLonLat (double dLongitude, double dLatitude)=0
 Converts the specified coordinates in lon/lat units to coordinate system units.
virtual MgCoordinateConvertFromLonLat (double dLongitude, double dLatitude, double dZ)=0
 Converts the specified coordinates in lon/lat units to coordinate system units.
virtual double ConvertMetersToCoordinateSystemUnits (double meters)=0
 Converts the given value in meters to coordinate system units.
virtual MgCoordinateConvertToLonLat (MgCoordinate *coordinate)=0
 Converts the specified MgCoordinate in coordinate system units to lon/lat units.
virtual MgCoordinateConvertToLonLat (double dX, double dY)=0
 Converts the specified coordinates in coordinate system units to lon/lat units.
virtual MgCoordinateConvertToLonLat (double dX, double dY, double dZ)=0
 Converts the specified coordinates in coordinate system units to lon/lat units.
virtual MgCoordinateSystemCreateClone ()=0
 Gets a cloned copy of this coordinate system.
virtual INT16 GetAge ()=0
virtual double GetAzimuth (MgCoordinate *coord1, MgCoordinate *coord2)=0
 Gets the angle with respect to North of a vector formed by two coordinates.
virtual double GetAzimuth (double x1, double y1, double x2, double y2)=0
 Gets the angle with respect to North of a vector formed by two coordinate.
virtual MgCoordinateSystemCatalogGetCatalog ()=0
 Gets the associated coordinate system catalog for this coordinate system.
virtual MgStringCollectionGetCategories ()=0
 Gets the categories of this coordinate system.
virtual double GetConvergence (double dLongitude, double dLatitude)=0
virtual MgCoordinateGetCoordinate (MgCoordinate *coord, double azimuth, double distance)=0
 Computes a coordinate a given distance along a vector that is defined by a starting coordinate and an azimuth (Angle with respect to North).
virtual MgCoordinateGetCoordinate (double xStart, double yStart, double azimuth, double distance)=0
 Computes a coordinate a given distance along a vector that is defined by a starting (x, y) coordinate and an azimuth (Angle with respect to North).
virtual STRING GetCountryOrState ()=0
 Gets the country or state of this coordinate system.
virtual STRING GetCsCode ()=0
 
virtual STRING GetDatum ()=0
 
virtual MgCoordinateSystemDatumGetDatumDefinition ()=0
 Gets the datum definition for this coordinate system.
virtual STRING GetDatumDescription ()=0
 
virtual STRING GetDescription ()=0
 
virtual STRING GetEllipsoid ()=0
 
virtual
MgCoordinateSystemEllipsoid
GetEllipsoidDefinition ()=0
 Gets the ellipsoid for this coordinate system.
virtual STRING GetEllipsoidDescription ()=0
 
virtual INT32 GetEpsgCode (void)=0
 
virtual INT16 GetEpsgQuadrant (void)=0
 
virtual
MgCoordinateSystemEnumInteger32
GetErrors ()=0
virtual STRING GetGroup ()=0
 Gets the group of this coordinate system.
virtual double GetLatMax ()=0
 Returns this system's maximum latitude value in degrees. If not set in the dictionary, the value returned here has been calculated by the underlying coordinate system transformation engine.
virtual double GetLatMin ()=0
 Returns this system's minimum latitude value in degrees. If not set in the dictionary, the value returned here has been calculated by the underlying coordinate system transformation engine.
virtual STRING GetLocation ()=0
 Gets the location of this coordinate system.
virtual double GetLonMax ()=0
 Returns this system's maximum longitude value in degrees. If not set in the dictionary, the value returned here has been calculated by the underlying coordinate system transformation engine.
virtual double GetLonMin ()=0
 Returns this system's minimum longitude value in degrees. If not set in the dictionary, the value returned here has been calculated by the underlying coordinate system transformation engine.
virtual double GetMapScale ()=0
 Gets the map scale for this coordinate system.
virtual double GetMaxX ()=0
 
virtual double GetMaxY ()=0
 
virtual MgCoordinateSystemMeasureGetMeasure ()=0
 
virtual double GetMinX ()=0
 
virtual double GetMinY ()=0
 
virtual double GetOffsetX ()=0
 Gets the X offset of this coordinate system.
virtual double GetOffsetY ()=0
 Gets the Y offset of this coordinate system.
virtual double GetOriginLatitude ()=0
 Gets the origin latitude of this coordinate system.
virtual double GetOriginLongitude ()=0
 Gets the origin longitude of this coordinate system.
virtual STRING GetProjection ()=0
 
virtual INT32 GetProjectionCode ()=0
 Gets the projection code of this coordinate system (see MgCoordinateSystemProjectionCode)
virtual STRING GetProjectionDescription ()=0
 
virtual double GetProjectionParameter (INT32 nIndex)=0
 Gets the projection parameter count of this coordinate system at the specified index.
virtual INT32 GetProjectionParameterCount ()=0
 Gets the projection parameter count of this coordinate system.
virtual INT16 GetQuadrant ()=0
 Gets the quadrant for this coordinate system.
virtual double GetScale (double dLongitude, double dLatitude)=0
virtual double GetScaleH (double dLongitude, double dLatitude)=0
virtual double GetScaleK (double dLongitude, double dLatitude)=0
virtual double GetScaleReduction ()=0
 Gets the scale reduction of this coordinate system.
virtual STRING GetSource ()=0
 Gets the source of this coordinate system.
virtual INT32 GetSridCode (void)=0
 
virtual INT32 GetType ()=0
 Gets the type of the coordinate system: arbitrary, geographic, or projected.
virtual INT32 GetUnitCode ()=0
 Gets the unit code of this coordinate system.
virtual STRING GetUnits ()=0
 Gets the coordinate system units.
virtual double GetUnitScale ()=0
 
virtual double GetZeroX ()=0
virtual double GetZeroY ()=0
virtual bool IsEncrypted ()=0
 Checks whether this coordinate system is encrypted.
virtual bool IsGeodetic ()=0
 Gets whether this coordinate system is geodetic.
virtual bool IsLegalCountryOrState (CREFSTRING sCountryOrState)=0
 Checks whether this country or state is legal for this coordinate system.
virtual bool IsLegalCsCode (CREFSTRING sCode)=0
 Checks whether the given CS-Map coordinate system code is a legal one.
virtual bool IsLegalDescription (CREFSTRING sDesc)=0
 Checks whether this description is legal for this coordinate system.
virtual bool IsLegalGroup (CREFSTRING sGroup)=0
 Checks whether this group is legal for this coordinate system.
virtual bool IsLegalLocation (CREFSTRING sLoc)=0
 Checks whether this location is legal for this coordinate system.
virtual bool IsLegalSource (CREFSTRING sSource)=0
 Checks whether this source is legal for this coordinate system.
virtual bool IsProtected ()=0
 Checks whether this coordinate system is protected.
virtual bool IsSameAs (MgGuardDisposable *pDef)=0
virtual bool IsUsable (MgCoordinateSystemCatalog *pCatalog)=0
virtual bool IsValid ()=0
 Checks whether this coordinate system is a valid one.
virtual bool IsValidLonLat (double dLongitude, double dLatitude)=0
 Gets the given longitude and latitude coordinates are valid within this coordinate system.
virtual bool IsValidXY (double dX, double dY)=0
 Gets the given X and Y coordinates are valid within this coordinate system.
virtual double MeasureEuclideanDistance (MgCoordinate *coord1, MgCoordinate *coord2)=0
 Measures the euclidean distance between two coordinates in coordinate system units.
virtual double MeasureEuclideanDistance (double x1, double y1, double x2, double y2)=0
 Measures the euclidean distance between (x1, y1) and (x2, y2) in coordinate system units.
virtual double MeasureGreatCircleDistance (MgCoordinate *coord1, MgCoordinate *coord2)=0
 Measures the great circle distance between two coordinates in coordinate system units.
virtual double MeasureGreatCircleDistance (double x1, double y1, double x2, double y2)=0
 Measures the distance between two coordinates (x1, y1) and (x2, y2) in coordinate system units.
virtual void SetCountryOrState (CREFSTRING sCountryOrState)=0
 Sets the country or state of this coordinate system.
virtual void SetCsCode (CREFSTRING sCode)=0
 Sets the CS-Map coordinate system code for this coordinate system.
virtual void SetDatumDefinition (MgCoordinateSystemDatum *pDatum)=0
 Sets the datum for this coordinate system.
virtual void SetDescription (CREFSTRING sDesc)=0
 Sets the description of this coordinate system.
virtual void SetEllipsoidDefinition (MgCoordinateSystemEllipsoid *pEllipsoid)=0
 Sets the ellipsoid definition for this coordinate system.
virtual void SetEncryptMode (bool bIsEncrypted)=0
virtual void SetGroup (CREFSTRING sGroup)=0
 Sets the group of this coordinate system.
virtual void SetLocation (CREFSTRING sLoc)=0
 Sets the location of this coordinate system.
virtual void SetLonLatBounds (double dLonMin, double dLatMin, double dLonMax, double dLatMax)=0
 Allows to set the min/max longitude and latitude values in degrees this coordinate system is valid in. This method must only be called on systems that are not protected. When setting these values, the coordinate system API will perform the following actions:
virtual void SetMapScale (double dMapScale)=0
 Sets the map scale for this coordinate system.
virtual void SetOffsets (double dXOffset, double dYOffset)=0
 Sets the X and Y offsets for this coordinate system.
virtual void SetOriginLatitude (double dOrgLat)=0
 Sets the origin latitude for this coordinate system.
virtual void SetOriginLongitude (double dOrgLng)=0
 Sets the origin longitude for this coordinate system.
virtual void SetProjectionCode (INT32 prjType)=0
 Sets the projection code for this coordinate system.
virtual void SetProjectionParameter (INT32 nIndex, double dValue)=0
 Sets the projection parameter of this coordinate system at the specified index.
virtual void SetProtectMode (bool bIsProtected)=0
virtual void SetQuadrant (INT16 sQuad)=0
 Sets the quadrant for this coordinate system.
virtual void SetScaleReduction (double dSclRed)=0
 Sets the scale reduction for this coordinate system.
virtual void SetSource (CREFSTRING sSource)=0
 Sets the source of this coordinate system.
virtual void SetUnitCode (INT32 unit)=0
 Sets the unit code for this coordinate system.
virtual void SetXYBounds (double dXMin, double dYMin, double dXMax, double dYMax)=0
 Allows to set the min/max X and Y values in the coordinate system's units that this coordinate system is valid in. This method must only be called on systems that are not protected. When setting these values, the coordinate system API will perform the following actions:
virtual void SetZeroes (double dXZero, double dYZero)=0
virtual STRING ToString ()=0
 Gets the OGC WKT string representation of the coordinate system.