ThinkGeo.MapSuite.Core.DecimalDegreesHelper
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class contains a static routine for converting between degree-minute-second measurement and decimal degree measurement. In essense, it is a routine for converting from a non-decimal degree unit to decimal degree unit distance.
Inheritance Hierarchy
Members Summary
Public Constructors
Protected Constructors
Public Methods
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
GetDegreesMinutesStringFromDecimalDegreePoint(Feature,Int32)
Return Value
Parameters
GetDegreesMinutesStringFromDecimalDegreePoint(Feature)
Return Value
Parameters
GetDegreesMinutesStringFromDecimalDegreePoint(PointShape)
Return Value
Parameters
GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,Int32)
Return Value
Parameters
GetDegreesMinutesSecondsFromDecimalDegree(Double)
Return Value
Parameters
GetDegreesMinutesSecondsStringFromDecimalDegree(Double)
Example: If you enter 75.358 as the number of decimal degrees, the result would be 75 degrees, 21 minutes, 28 seconds. Thus, the return string would be 75?21' 28“.
Return Value
Parameters
GetDegreesMinutesSecondsStringFromDecimalDegree(Double,Int32)
Example: If you enter 75.358 as the number of decimal degree and 12 as decimals, the result would be 75 degrees, 21 minutes, 28.80000000015 seconds. Thus, the return string would be 75?21' 28.80000000015”.
Return Value
Parameters
GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape)
Passing in a point will return the point's location represented in degrees, minutes, and seconds. For example, if the point's location in decimal degrees is (75.358, 36.345), the actual returned string would be “75?21' 29E 36?20' 42
N”.
Return Value
Parameters
GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape,Int32)
Return Value
Parameters
GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature,Int32)
Return Value
Parameters
GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature)
Return Value
Parameters
GetDecimalDegreeFromDegreesMinutesSeconds(String)
Return Value
Parameters
GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds)
Return Value
Parameters
GetDecimalDegreeFromDegreesMinutesSeconds(Int32,Int32,Double)
Return Value
Parameters
GetDistanceFromDecimalDegrees(PointShape,PointShape,DistanceUnit)
Return Value
Parameters
GetDistanceFromDecimalDegrees(Feature,Feature,DistanceUnit)
Return Value
Parameters
GetDistanceFromDecimalDegrees(Double,Double,Double,Double,DistanceUnit)
Return Value
Parameters
GetLongitudeDifferenceFromDistance(Double,DistanceUnit,Double)
Return Value
Parameters
GetLatitudeDifferenceFromDistance(Double,DistanceUnit)
Return Value
Parameters
ConvertToMgrs(Double,Double)
Return Value
Parameters
ConvertFromMgrs(String)
Return Value
Parameters
mgrs
Type:String
Description:MGRS string
Protected Methods
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
GetDegreesMinutesStringFromDecimalDegree(Double)
Return Value
Type:String
Description:N/A
Parameters
decimalDegreesValue
Type:Double
Description:N/A
GetDegreesMinutesStringFromDecimalDegree(Double,Int32)
Return Value
Type:String
Description:N/A
Parameters
decimalDegreesValue
Type:Double
Description:N/A
decimals
Type:Int32
Description:N/A
GetLatitudeFromDistanceAndDegree(Double,Double,Double,DistanceUnit,Double)
Return Value
Type:Double
Description:N/A
Parameters
fromLongitude
Type:Double
Description:N/A
fromLatitude
Type:Double
Description:N/A
distance
Type:Double
Description:N/A
degree
Type:Double
Description:N/A
GetLongitudeFromDistanceAndDegree(Double,Double,Double,DistanceUnit,Double)
Return Value
Type:Double
Description:N/A
Parameters
fromLongitude
Type:Double
Description:N/A
fromLatitude
Type:Double
Description:N/A
distance
Type:Double
Description:N/A
degree
Type:Double
Description:N/A
GetGreatCircle(PointShape,PointShape,Int32)
Return Value
Parameters
count
Type:Int32
Description:N/A
GetDistanceFromDecimalDegreesLine(Double,Double,Double,Double,PointShape,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters
fromPointX
Type:Double
Description:N/A
fromPointY
Type:Double
Description:N/A
toPointX
Type:Double
Description:N/A
toPointY
Type:Double
Description:N/A
GetNearestPointFromPointShapeDecimalDegreesLine(Double,Double,Double,Double,PointShape)
Return Value
Parameters
fromPointX
Type:Double
Description:N/A
fromPointY
Type:Double
Description:N/A
toPointX
Type:Double
Description:N/A
toPointY
Type:Double
Description:N/A
GetXFromDegreeOnSphere(Double,Double,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters
degreeX
Type:Double
Description:N/A
degreeY
Type:Double
Description:N/A
GetYFromDegreeOnSphere(Double,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters
degreeY
Type:Double
Description:N/A
AmendDegrees(String)
Return Value
Type:String
Description:N/A
Parameters
degreesMinutesSeconds
Type:String
Description:N/A
Public Properties
Protected Properties
Public Events