User Tools

Site Tools


thinkgeo.mapsuite.core.decimaldegreeshelper

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.core.decimaldegreeshelper [2015/09/17 10:27]
admin
thinkgeo.mapsuite.core.decimaldegreeshelper [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.Core.DecimalDegreesHelper ====== ====== ThinkGeo.MapSuite.Core.DecimalDegreesHelper ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 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. 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 ===== ===== Inheritance Hierarchy =====
Line 5: Line 8:
     ***ThinkGeo.MapSuite.Core.DecimalDegreesHelper**     ***ThinkGeo.MapSuite.Core.DecimalDegreesHelper**
 ===== Members Summary ===== ===== Members Summary =====
-=== Public Constructors === +==== Public Constructors ​==== 
-=== Protected Constructors === +==== Protected Constructors ​==== 
-=== Public Methods === +==== Public Methods ==== 
-<div class_table>​ +** {{wiki:​PublicMethod.gif|}} ​ToString() **
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ConvertFromMgrs(String)|ConvertFromMgrs]]** +
-  * **Parameters**:​String +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​Convert the MGRS string to latitude and longitude +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ConvertToMgrs(Double,​Double)|ConvertToMgrs]]*+== Remarks == 
-  * **Parameters**:​Double,​Double +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​Convert the input latitude and longitude to MGRS string +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}[[#​Equals(Object)|Equals]]** +  * Type:String 
-  * **Parameters**:Object +  * Description:N/A
-  * **DeclaringType**:​Object +
-  * **Summary**:N/A +
-</​div>​+
  
-<​div ​class_table+== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDecimalDegreeFromDegreesMinutesSeconds(Int32,​Int32,​Double)|GetDecimalDegreeFromDegreesMinutesSeconds]]** +<​div ​newline></​div
-  * **Parameters**:​Int32,​Int32,​Double +** {{wiki:​PublicMethod.gif|}} ​Equals(Object) **
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns a decimal degree value based on a set of degrees, minutes, and seconds. +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds)|GetDecimalDegreeFromDegreesMinutesSeconds]]*+== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This method returns a decimal degree value based on a degree, minute and second structure. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDecimalDegreeFromDegreesMinutesSeconds(String)|GetDecimalDegreeFromDegreesMinutesSeconds]]** +  * Type:Boolean 
-  * **Parameters**:String +  * Description:N/A
-  * **DeclaringType**:N/A +
-  * **Summary**:​This method returns a decimal degree value based on a string containing degrees, minutes, and seconds. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsFromDecimalDegree(Double)|GetDegreesMinutesSecondsFromDecimalDegree]]** +  //obj// 
-  * **Parameters**:Double +    Type:Object 
-  * **DeclaringType**:N/A +    Description:N/A
-  * **Summary**:​This method returns a degrees, minutes and seconds structure from a decimal degree value. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsStringFromDecimalDegree(Double)|GetDegreesMinutesSecondsStringFromDecimalDegree]]** +** {{wiki:​PublicMethod.gif|}} ​GetHashCode() **
-  * **Parameters**:​Double +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value. +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsStringFromDecimalDegree(Double,​Int32)|GetDegreesMinutesSecondsStringFromDecimalDegree]]*+== Remarks == 
-  * **Parameters**:​Double,​Int32 +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value and a specified precision. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]]** +  * Type:Int32 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +  * Description:N/A
-  * **DeclaringType**:N/A +
-  * **Summary**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value. +
-</​div>​+
  
-<​div ​class_table+== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature,​Int32)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]]** +<​div ​newline></​div
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​Int32 +** {{wiki:​PublicMethod.gif|}} ​GetType() **
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value. +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape,​Int32)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]]*+== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Int32 +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]]** +  * Type:Type 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * Description:N/A
-  * **DeclaringType**:N/A +
-  * **Summary**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value. +
-</​div>​+
  
-<​div ​class_table+== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,Int32)|GetDegreesMinutesStringFromDecimalDegreePoint]]** +<​div ​newline></​div
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Int32 +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature,Int32) **
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns a string representation in degrees and minutes from a decimal degree point. +
-</​div>​+
  
-<div class_table>​ +  ​* //This method returns a string representation in degrees and minutes from a decimal degree point.// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesStringFromDecimalDegreePoint(PointShape)|GetDegreesMinutesStringFromDecimalDegreePoint]]** +== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //N/A//
-  * **DeclaringType**:​N/+
-  * **Summary**:​This method returns a string representation in degrees and minutes from a decimal degree point. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesStringFromDecimalDegreePoint(Feature)|GetDegreesMinutesStringFromDecimalDegreePoint]]** +  * Type:String 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +  * Description:This method returns a string representation in degrees and minutes from a decimal degree point.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:This method returns a string representation in degrees and minutes from a decimal degree point. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDegreesMinutesStringFromDecimalDegreePoint(Feature,​Int32)|GetDegreesMinutesStringFromDecimalDegreePoint]]** +  //point// 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]],Int32 +    Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **DeclaringType**:N/A +    Description:The feature you want to convert.
-  * **Summary**:​This method returns a string representation in degrees and minutes from a decimal degree point. +
-</​div>​+
  
-<div class_table>​ +  ​//​decimals//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDistanceFromDecimalDegrees(PointShape,​PointShape,​DistanceUnit)|GetDistanceFromDecimalDegrees]]*+    Type:Int32 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +    Description:Number of decimals for the Minutes value
-  * **DeclaringType**:N/A +
-  * **Summary**:​This method returns ​the distance between two decimal degree points. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDistanceFromDecimalDegrees(Feature,​Feature,​DistanceUnit)|GetDistanceFromDecimalDegrees]]** +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesStringFromDecimalDegreePoint(Feature) **
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns the distance between two decimal degree points. +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns a string representation in degrees and minutes from a decimal degree point.// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDistanceFromDecimalDegrees(Double,​Double,​Double,​Double,​DistanceUnit)|GetDistanceFromDecimalDegrees]]** +== Remarks == 
-  * **Parameters**:​Double,​Double,​Double,​Double,​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This method returns the distance between two decimal degree points. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}[[#​GetHashCode()|GetHashCode]]** +  * Type:String 
-  * **Parameters**:N/A +  * Description:This method returns a string representation in degrees and minutes from a decimal degree point.
-  * **DeclaringType**:Object +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetLatitudeDifferenceFromDistance(Double,​DistanceUnit)|GetLatitudeDifferenceFromDistance]]** +  //point// 
-  * **Parameters**:Double,[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +    Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **DeclaringType**:N/A +    Description:The point you want to convert.
-  * **Summary**:​Calculate the amount of longitude change given a certain distance and longitude. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetLongitudeDifferenceFromDistance(Double,​DistanceUnit,​Double)|GetLongitudeDifferenceFromDistance]]** +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesStringFromDecimalDegreePoint(PointShape) **
-  * **Parameters**:​Double,​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]],​Double +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​Calculate the amount of longitude change given a certain distance and latitude. +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns a string representation in degrees and minutes from a decimal degree point.// 
-**{{wiki:​PublicMethod.gif|}}[[#​GetType()|GetType]]** +== Remarks == 
-  * **Parameters**:​N/A +  * //N/A//
-  * **DeclaringType**:​Object +
-  * **Summary**:​N/A +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}[[#​ToString()|ToString]]** +  * Type:String 
-  * **Parameters**:N/A +  * Description:This method returns a string representation in degrees and minutes from a decimal degree point.
-  * **DeclaringType**:Object +
-  * **Summary**:​N/​A +
-</​div>​+
  
-=== Protected Methods === +== Parameters ​== 
-<div class_table>​ +  * //​pointShape//​ 
-**{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** +    Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Parameters**:N/A +    Description:N/A
-  * **DeclaringType**:​Object +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#G0M=(Double,Double,​Double,​DistanceUnit,​Double)|G0M=]]** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,Int32) **
-  * **Parameters**:​Double,​Double,​Double,​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]],​Double +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns a string representation in degrees and minutes from a decimal degree point.// 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​GkM=(Double)|GkM=]]** +== Remarks ​== 
-  * **Parameters**:​Double +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​N/+
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​GkM=(Double,​Int32)|GkM=]]** +  * Type:String 
-  * **Parameters**:Double,​Int32 +  * Description:This method returns a string representation in degrees and minutes from a decimal degree point.
-  * **DeclaringType**:N/A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​H0M=(Double,​Double,​Double,​Double,​PointShape)|H0M=]]** +  * //​pointShape//​ 
-  * **Parameters**:Double,​Double,​Double,​Double,​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    ​Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **DeclaringType**:N/A +    Description:N/A
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//​decimals//​ 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​HEM=(Double,​Double,​Double,​DistanceUnit,​Double)|HEM=]]*+    Type:Int32 
-  * **Parameters**:Double,​Double,​Double,​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]],​Double +    Description:Number of decimals for the Minutes value
-  * **DeclaringType**:N/A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#HUM=(PointShape,​PointShape,​Int32)|HUM=]]** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesSecondsFromDecimalDegree(Double) **
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Int32 +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns a degrees, minutes and seconds structure from a decimal degree value.// 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​HkM=(Double,​Double,​Double,​Double,​PointShape,​DistanceUnit)|HkM=]]** +== Remarks ​== 
-  * **Parameters**:​Double,Double,Double,​Double,​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * //The method allows you pass in a decimal degree number and return the degreeminutesecond as variables passed in on the method call.//
-  * **DeclaringType**:​N/+
-  * **Summary**:​N/​A +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​IEM=(Double,​Double,​DistanceUnit)|IEM=]]** +  * Type:​[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] 
-  * **Parameters**:Double,​Double,​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * Description:This method returns a degrees, minutes and seconds structure from a decimal degree value.
-  * **DeclaringType**:N/A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​IUM=(Double,​DistanceUnit)|IUM=]]** +  * //​decimalDegreesValue//​ 
-  * **Parameters**:Double,​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +    ​Type:Double 
-  * **DeclaringType**:N/A +    Description:The decimal degree value you want to convert.
-  * **Summary**:​N/​A +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#IkM=(String)|IkM=]]** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesSecondsStringFromDecimalDegree(Double) **
-  * **Parameters**:​String +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns a string representation in degrees, minutes and seconds from a decimal degree value.// 
-**{{wiki:​ProtectedMethod.gif|}}[[#​MemberwiseClone()|MemberwiseClone]]** +== Remarks == 
-  * **Parameters**:​N/A +  * //ExampleIf 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".//
-  * **DeclaringType**:​Object +
-  * **Summary**:N/+
-</div>+
  
-=== Public Properties === +== Return Value == 
-=== Protected Properties === +  * Type:String 
-=== Public Events === +  * Description:​This method returns a string ​representation in degrees, minutes ​and seconds from a decimal degree value.
-===== Public Constructors ===== +
-===== Protected Constructors ===== +
-===== Public Methods ===== +
-=== ConvertFromMgrs(String) === +
-Convert the MGRS string ​to latitude ​and longitude +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​decimalDegreesValue//​ 
-  * **Description**:The converted coordinate.+    ​* Type:Double 
 +    * Description:​The ​number of decimal degrees to convert.
  
-==== Parameters ==== +<div newline></​div>​ 
-**mgrs** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegree(Double,​Int32) ​**
-  * **Type**:String +
-  ​* **Description**:​MGRS string+
  
-[[#Public Methods|Go Back]] +  * //This method returns a string representation in degreesminutes ​and seconds from a decimal degree value and a specified precision.//​ 
-=== ConvertToMgrs(Double,Double) === +== Remarks == 
-Convert the input latitude ​and longitude to MGRS string +  * //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"​./​/
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:String +  * Type:​String 
-  ​* **Description**:The MGRS corresponding to input latitude ​and longitude.+  * Description:​This method returns a string representation in degrees, minutes ​and seconds from a decimal degree value.
  
-==== Parameters ​==== +== Parameters == 
-**longitude** +  //​decimalDegreesValue//​ 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:Longitude coordinate.+    * Description:​The number of decimal degree to convert.
  
-**latitude** +  ​//​decimals//​ 
-  * **Type**:Double +    * Type:Int32 
-  * **Description**:Latitude coordinate.+    * Description:​The number of float decision for the second.
  
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-=== Equals(Object=== +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape**
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//This method returns a string representation in degrees, minutes and seconds from a decimal degree value.// 
-  * **Return Type**:​Boolean +== Remarks == 
-  * **Description**:​N/A+  * //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'​ 29''​E ​ 36?20' 42''​N".//
  
-==== Parameters ==== +== Return Value == 
-**obj** +  * Type:String 
-  ​* **Type**:Object +  * Description:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value.
-  ​* **Description**:N/A+
  
-[[#Public Methods|Go Back]] +== Parameters ​== 
-=== GetDecimalDegreeFromDegreesMinutesSeconds(Int32,​Int32,​Double) === +  * //​pointShape//​ 
-This method returns a decimal degree value based on a set of degrees, minutes, and seconds+    * Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-==== Remarks ==== +    * Description:​The point you want to convert.
-If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape,​Int32) ​**
-  ​* **Description**:​This method returns a decimal degree value based on a set of degrees, minutes, and seconds.+
  
-==== Parameters ==== +  ​//This method returns a string representation in degrees, minutes and seconds ​from a decimal degree value.// 
-**degrees** +== Remarks == 
-  * **Type**:​Int32 +  * //None//
-  * **Description**:​This parameter represents the degree component of the degrees, minutes and seconds.+
  
-**minutes** +== Return Value == 
-  ​* **Type**:Int32 +  * Type:String 
-  ​* **Description**:This parameter represents the minute component of the degrees, minutes and seconds.+  * Description:​This ​method returns a string representation in degrees, minutes and seconds ​from a decimal degree value.
  
-**seconds** +== Parameters == 
-  * **Type**:Double +  * //​pointShape//​ 
-  * **Description**:This parameter represents the second component ​of the degrees, minutes and seconds.+    ​* Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
 +    * Description:​The point of decimal degree to convert.
  
-[[#Public Methods|Go Back]] +  * //​decimals//​ 
-=== GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) === +    * Type:Int32 
-This method returns a decimal degree ​value based on a degree, minute and second structure. +    * Description:​The number of decimal degree ​to convert.
-==== Remarks ==== +
-If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature,​Int32) ​**
-  ​* **Description**:​This method returns a decimal degree value based on a degree, minute and second structure.+
  
-==== Parameters ==== +  ​//This method returns a string representation in degrees, minutes and seconds ​from a decimal degree value.// 
-**degreesMinutesSeconds** +== Remarks == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] +  * //None//
-  * **Description**:This structure represents the degrees, minutes and seconds.+
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== GetDecimalDegreeFromDegreesMinutesSeconds(String) === +  * Type:​String 
-This method returns ​a decimal degree value based on a string ​containing ​degrees, minutesand seconds+  * Description:​This method returns a string ​representation in degrees, minutes and seconds ​from decimal degree value.
-==== Remarks ==== +
-If you pass in "​75?​21'​ 28''"​ as string, then the result will be 75.35777777784.+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Double +  * //point// 
-  * **Description**:This method returns a decimal ​degree value based on a string containing ​degrees, minutes, and seconds.+    ​* Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
 +    * Description:​The feature whose decimal degrees ​to convert.
  
-==== Parameters ==== +  ​//​decimalPlaces//​ 
-**degreesMinutesSeconds*+    * Type:Int32 
-  * **Type**:String +    * Description:​The number of decimal degree to convert.
-  * **Description**:This parameter represents the degrees, minutes and seconds in a string.+
  
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-=== GetDegreesMinutesSecondsFromDecimalDegree(Double=== +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature**
-This method returns a degrees, minutes and seconds structure from a decimal degree value. +
-==== Remarks ==== +
-The method allows you pass in a decimal degree number and return the degree, minute, second as variables passed in on the method call.+
  
-**Return Value** +  ​//This method returns a string representation in degrees, minutes and seconds from a decimal degree value.// 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] +== Remarks == 
-  * **Description**:​This method returns a degrees, minutes and seconds ​structure ​from a decimal degree value.+  * //None//
  
-==== Parameters ==== +== Return Value == 
-**decimalDegreesValue** +  * Type:String 
-  ​* **Type**:Double +  * Description:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value.
-  ​* **Description**:The decimal degree value you want to convert.+
  
-[[#Public Methods|Go Back]] +== Parameters ​== 
-=== GetDegreesMinutesSecondsStringFromDecimalDegree(Double) === +  * //point// 
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value+    * Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-==== Remarks ==== +    * Description:The feature whose decimal degrees ​to convert.
-ExampleIf 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** +<div newline></​div>​ 
-  * **Return Type**:String +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(String**
-  ​* **Description**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+
  
-==== Parameters ==== +  * //This method returns a decimal degree value based on a string containing degrees, minutes, and seconds.//​ 
-**decimalDegreesValue** +== Remarks ​== 
-  * **Type**:​Double +  * //If you pass in "​75?​21'​ 28''"​ as a string, then the result will be 75.35777777784.//
-  * **Description**:​The number of decimal degrees to convert.+
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== GetDegreesMinutesSecondsStringFromDecimalDegree(Double,​Int32) === +  * Type:​Double 
-This method returns ​a string representation in degrees, minutes and seconds from a decimal degree value and specified precision. +  * Description:​This method returns a decimal degree value based on string containing ​degrees, minutes, ​and seconds.
-==== Remarks ==== +
-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 == 
-  * **Return ​Type**:String +  * //​degreesMinutesSeconds//​ 
-  * **Description**:This method returns a string representation in degrees, minutes and seconds ​from decimal degree value.+    ​* Type:​String 
 +    * Description:​This ​parameter represents the degrees, minutes and seconds ​in string.
  
-==== Parameters ==== +<div newline></​div>​ 
-**decimalDegreesValue** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) ​**
-  * **Type**:Double +
-  ​* **Description**:​The number of decimal degree to convert.+
  
-**decimals** +  ​//This method returns a decimal degree value based on a degree, minute and second structure.//​ 
-  * **Type**:​Int32 +== Remarks == 
-  * **Description**:​The number of float decision for the second.+  * //If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature) === +  * Type:​Double 
-This method returns ​a string representation in degrees, minutes and seconds from a decimal degree value. +  * Description:​This method returns a decimal degree value based on a degree, minute and second structure.
-==== Remarks ==== +
-None+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:String +  * //​degreesMinutesSeconds//​ 
-  * **Description**:This method returns a string representation in degrees, minutes and seconds ​from a decimal degree value.+    ​* Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] 
 +    * Description:​This ​structure represents the degrees, minutes and seconds.
  
-==== Parameters ==== +<div newline></​div>​ 
-**point** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(Int32,​Int32,​Double) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +
-  ​* **Description**:​The feature whose decimal degrees to convert.+
  
-[[#Public Methods|Go Back]] +  * //This method returns a decimal degree value based on a set of degrees, minutesand seconds.// 
-=== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature,​Int32) === +== Remarks == 
-This method returns a string representation in degrees, minutes and seconds ​from a decimal degree value+  * //If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.//​
-==== Remarks ​==== +
-None+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:String +  * Type:Double 
-  ​* **Description**:This method returns a string representation in degrees, minutes and seconds ​from a decimal degree value.+  * Description:​This method returns a decimal degree value based on a set of degrees, minutesand seconds.
  
-==== Parameters ​==== +== Parameters == 
-**point** +  //degrees// 
-  * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +    * Type:Int32 
-  * **Description**:The feature whose decimal ​degrees ​to convert.+    * Description:​This parameter represents the degree component of the degrees, minutes and seconds.
  
-**decimalPlaces** +  ​//minutes// 
-  * **Type**:Int32 +    * Type:​Int32 
-  * **Description**:The number ​of decimal degree to convert.+    * Description:​This parameter represents the minute component ​of the degrees, minutes and seconds.
  
-[[#Public Methods|Go Back]] +  * //seconds// 
-=== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape,​Int32) === +    * Type:Double 
-This method returns a string representation in degrees, minutes and seconds ​from a decimal degree value. +    * Description:​This parameter represents the second component of the degrees, minutes and seconds.
-==== Remarks ==== +
-None+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:String +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(PointShape,​PointShape,​DistanceUnit) ​**
-  ​* **Description**:​This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+
  
-==== Parameters ==== +  * //This method returns the distance between two decimal degree points.// 
-**pointShape** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //None//
-  * **Description**:​The point of decimal degree to convert.+
  
-**decimals** +== Return Value == 
-  ​* **Type**:Int32 +  * Type:Double 
-  ​* **Description**:The number of decimal degree ​to convert.+  * Description:​This method returns the distance between two decimal degree ​points in the unit specified by the returningUnit parameter.
  
-[[#Public Methods|Go Back]] +== Parameters ​== 
-=== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape) === +  * //​fromPoint//​ 
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value+    * Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-==== Remarks ==== +    * Description:​The ​point shape you will measure from.
-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'​ 29''​E ​ 36?20' 42''​N"​.+
  
-**Return Value** +  ​//toPoint// 
-  **Return ​Type**:String +    * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Description**:This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+    * Description:​The point shape you will measure to.
  
-==== Parameters ==== +  ​//​returningUnit//​ 
-**pointShape*+    * Type:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Description:​The ​unit you would like your results back in, such as miles or kilometers.
-  * **Description**:The point you want to convert.+
  
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-=== GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,Int32=== +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(Feature,Feature,​DistanceUnit**
-This method returns a string representation in degrees and minutes from a decimal degree point. +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//This method returns ​the distance between two decimal degree ​points.// 
-  * **Return Type**:​String +== Remarks == 
-  * **Description**:​This method returns ​a string representation in degrees and minutes from a decimal degree ​point.+  * //None//
  
-==== Parameters ==== +== Return Value == 
-**pointShape** +  * Type:Double 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * Description:​This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter.
-  ​* **Description**:N/A+
  
-**decimals** +== Parameters == 
-  * **Type**:Int32 +  * //​fromPointFeature//​ 
-  * **Description**:Number of decimals for the Minutes value+    ​* Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
 +    * Description:​The feature you will measure from.
  
-[[#Public Methods|Go Back]] +  * //​toPointFeature//​ 
-=== GetDegreesMinutesStringFromDecimalDegreePoint(PointShape) === +    * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-This method returns a string representation in degrees and minutes from a decimal degree point. +    * Description:​The feature you will measure to.
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​returningUnit//​ 
-  **Return ​Type**:String +    * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:This method returns a string representation ​in degrees and minutes from a decimal degree point.+    * Description:​The unit you would like your results back in, such as miles or kilometers.
  
-==== Parameters ==== +<div newline></​div>​ 
-**pointShape** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(Double,​Double,​Double,​Double,​DistanceUnit) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +
-  ​* **Description**:​N/​A+
  
-[[#Public Methods|Go Back]] +  * //This method returns ​the distance between two decimal degree ​points.// 
-=== GetDegreesMinutesStringFromDecimalDegreePoint(Feature) === +== Remarks == 
-This method returns ​a string representation in degrees and minutes from a decimal degree ​point+  * //None//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:String +  * Type:Double 
-  ​* **Description**:This method returns ​a string representation in degrees and minutes from a decimal degree ​point.+  * Description:​This method returns ​the distance between two decimal degree ​points in the unit specified by the returningUnit parameter.
  
-==== Parameters ​==== +== Parameters == 
-**point** +  //​fromLongitude//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +    * Type:Double 
-  * **Description**:The point you want to convert.+    * Description:​This is the from longitude value.
  
-[[#Public Methods|Go Back]] +  * //​fromLatitude//​ 
-=== GetDegreesMinutesStringFromDecimalDegreePoint(Feature,​Int32) === +    * Type:Double 
-This method returns a string representation in degrees and minutes ​from a decimal degree point. +    * Description:​This is the from latitude value.
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​toLongitude//​ 
-  **Return ​Type**:String +    * Type:Double 
-  * **Description**:This method returns a string representation in degrees and minutes from a decimal degree point.+    * Description:​This ​is the to longitude value.
  
-==== Parameters ==== +  ​//​toLatitude//​ 
-**point*+    * Type:Double 
-  * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +    * Description:​This is the to latitude value.
-  * **Description**:The feature you want to convert.+
  
-**decimals** +  ​//​returningUnit//​ 
-  * **Type**:Int32 +    * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:Number of decimals for the Minutes ​value+    * Description:​This is the distance unit you would like to use in the return ​value. For example, if you select miles as your returningUnit,​ then the distance will be returned in miles.
  
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-=== GetDistanceFromDecimalDegrees(PointShape,PointShape,DistanceUnit=== +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetLongitudeDifferenceFromDistance(Double,DistanceUnit,Double**
-This method returns the distance between two decimal degree points. +
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//Calculate the amount of longitude change given a certain distance and latitude.// 
-  * **Return Type**:​Double +== Remarks == 
-  * **Description**:​This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter.+  * //None//
  
-==== Parameters ==== +== Return Value == 
-**fromPoint** +  * Type:Double 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * Description:​Double representing the distance.
-  ​* **Description**:The point shape you will measure from.+
  
-**toPoint** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​distance//​ 
-  * **Description**:The point shape you will measure ​to.+    ​* Type:Double 
 +    * Description:​The ​distance over which you would like to know the change in longitude.
  
-**returningUnit** +  ​//​distanceUnit//​ 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +    * Type:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:The unit you would like your results back in, such as miles or kilometers.+    * Description:​The unit the distance is in, such as miles or kilometers.
  
-[[#Public Methods|Go Back]] +  * //​latitude//​ 
-=== GetDistanceFromDecimalDegrees(Feature,​Feature,​DistanceUnit) === +    * Type:Double 
-This method returns ​the distance ​between two decimal degree points. +    * Description:​The latitude on the globe that the distance ​is measured at.
-==== Remarks ==== +
-None+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetLatitudeDifferenceFromDistance(Double,​DistanceUnit) ​**
-  ​* **Description**:​This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter.+
  
-==== Parameters ==== +  * //Calculate the amount of longitude change given a certain distance and longitude.//​ 
-**fromPointFeature** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] +  * //None//
-  * **Description**:​The feature you will measure from.+
  
-**toPointFeature** +== Return Value == 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +  * Type:Double 
-  ​* **Description**:The feature you will measure to.+  * Description:​Double representing the distance.
  
-**returningUnit** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * //​distance//​ 
-  * **Description**:The unit you would like your results back in, such as miles or kilometers.+    ​* Type:Double 
 +    * Description:​The ​distance over which you would like to know the change ​in longitude.
  
-[[#Public Methods|Go Back]] +  * //​distanceUnit//​ 
-=== GetDistanceFromDecimalDegrees(Double,​Double,​Double,​Double,​DistanceUnit) === +    * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-This method returns ​the distance ​between two decimal degree points. +    * Description:​The unit the distance ​is in, such as miles or kilometers.
-==== Remarks ==== +
-None+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ConvertToMgrs(Double,​Double) ​**
-  ​* **Description**:​This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter.+
  
-==== Parameters ==== +  * //Convert the input latitude and longitude to MGRS string// 
-**fromLongitude** +== Remarks ​== 
-  * **Type**:​Double +  * //N/A//
-  * **Description**:​This is the from longitude value.+
  
-**fromLatitude** +== Return Value == 
-  ​* **Type**:Double +  * Type:String 
-  ​* **Description**:This is the from latitude ​value.+  * Description:​The MGRS corresponding to input latitude ​and longitude.
  
-**toLongitude** +== Parameters == 
-  * **Type**:Double +  * //​longitude//​ 
-  * **Description**:This is the to longitude value.+    ​* Type:​Double 
 +    * Description:​Longitude coordinate.
  
-**toLatitude** +  ​//​latitude//​ 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:This is the to latitude value.+    * Description:​Latitude coordinate.
  
-**returningUnit** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ConvertFromMgrs(String) ​**
-  ​* **Description**:​This is the distance unit you would like to use in the return value. For example, if you select miles as your returningUnit,​ then the distance will be returned in miles.+
  
-[[#Public Methods|Go Back]] +  * //Convert the MGRS string to latitude and longitude/
-=== GetHashCode() === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Int32 +  * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  ​* **Description**:N/A+  * Description:​The converted coordinate.
  
-==== Parameters ​==== +== Parameters == 
-[[#Public Methods|Go Back]] +  * //mgrs// 
-=== GetLatitudeDifferenceFromDistance(Double,​DistanceUnit) === +    * Type:String 
-Calculate the amount of longitude change given a certain distance and longitude. +    * Description:​MGRS string
-==== Remarks ==== +
-None+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +==== Protected Methods ==== 
-  ​* **Description**:​Double representing the distance.+** {{wiki:ProtectedMethod.gif|}} Finalize() ​**
  
-==== Parameters ==== +  * //N/A// 
-**distance** +== Remarks ​== 
-  * **Type**:​Double +  * //N/A//
-  * **Description**:​The distance over which you would like to know the change in longitude.+
  
-**distanceUnit** +== Return Value == 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * Type:Void 
-  ​* **Description**:The unit the distance is in, such as miles or kilometers.+  * Description:​N/A
  
-[[#Public Methods|Go Back]] +== Parameters ​== 
-=== GetLongitudeDifferenceFromDistance(Double,​DistanceUnit,​Double) === +<div newline></​div>​ 
-Calculate the amount of longitude change given a certain distance and latitude. +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//N/A// 
-  * **Return Type**:​Double +== Remarks == 
-  * **Description**:​Double representing the distance.+  * //N/A//
  
-==== Parameters ==== +== Return Value == 
-**distance** +  * Type:Object 
-  ​* **Type**:Double +  * Description:​N/A
-  ​* **Description**:The distance over which you would like to know the change in longitude.+
  
-**distanceUnit** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +<div newline></​div>​ 
-  ​* **Description**:​The unit the distance is in, such as miles or kilometers.+** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegree(Double) ​**
  
-**latitude** +  ​//N/A// 
-  * **Type**:​Double +== Remarks == 
-  * **Description**:​The latitude on the globe that the distance is measured at.+  * //N/A//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== GetType() === +  * Type:String 
-N/A +  * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Type +  * //​decimalDegreesValue//​ 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-[[#Public Methods|Go Back]] +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegree(Double,​Int32**
-=== ToString() === +
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//N/A// 
-  * **Return Type**:​String +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-==== Parameters ==== +== Return Value == 
-[[#Public Methods|Go Back]] +  * Type:String 
-===== Protected Methods ===== +  * Description:​N/A
-=== Finalize() === +
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Void +  * //​decimalDegreesValue//​ 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-==== Parameters ==== +  * //decimals/
-[[#​Protected Methods|Go Back]] +    * Type:Int32 
-=== G0M=(Double,​Double,​Double,​DistanceUnit,​Double) === +    * Description:​N/A
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetLatitudeFromDistanceAndDegree(Double,​Double,​Double,​DistanceUnit,​Double) ​**
-  ​* **Description**:​N/​A+
  
-==== Parameters ==== +  * //N/A// 
-**fromLongitude** +== Remarks ​== 
-  * **Type**:​Double +  * //N/A//
-  * **Description**:​N/A+
  
-**fromLatitude** +== Return Value == 
-  ​* **Type**:Double +  * Type:​Double 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-**distance** +== Parameters == 
-  * **Type**:Double +  * //​fromLongitude//​ 
-  * **Description**:N/A+    ​* Type:​Double 
 +    * Description:​N/​A
  
-**distanceUnit** +  ​//​fromLatitude//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +    * Type:Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**degree** +  ​//​distance//​ 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#Protected Methods|Go Back]] +  * //​distanceUnit//​ 
-=== GkM=(Double) === +    * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//degree// 
-  **Return ​Type**:String +    * Type:Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-**decimalDegreesValue** +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetLongitudeFromDistanceAndDegree(Double,​Double,​Double,​DistanceUnit,​Double) ​**
-  * **Type**:Double +
-  ​* **Description**:​N/​A+
  
-[[#​Protected Methods|Go Back]] +  * //N/A// 
-=== GkM=(Double,​Int32) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:String +  * Type:Double 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**decimalDegreesValue** +  //​fromLongitude//​ 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**decimals** +  ​//​fromLatitude//​ 
-  * **Type**:Int32 +    * Type:Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +  * //​distance//​ 
-=== H0M=(Double,​Double,​Double,​Double,​PointShape) === +    * Type:Double 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​distanceUnit//​ 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +  ​//degree// 
-**fromPointX*+    * Type:​Double 
-  * **Type**:Double +    * Description:​N/​A
-  * **Description**:N/A+
  
-**fromPointY** +<div newline></​div>​ 
-  * **Type**:Double +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetGreatCircle(PointShape,​PointShape,​Int32) ​**
-  ​* **Description**:​N/​A+
  
-**toPointX** +  ​//N/A// 
-  * **Type**:​Double +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-**toPointY** +== Return Value == 
-  ​* **Type**:Double +  * Type:[[ThinkGeo.MapSuite.Core.MultilineShape|MultilineShape]] 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-**pointShape** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​fromPoint//​ 
-  * **Description**:N/A+    ​* Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
 +    * Description:​N/​A
  
-[[#Protected Methods|Go Back]] +  * //​toPoint//​ 
-=== HEM=(Double,​Double,​Double,​DistanceUnit,​Double) === +    * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//count// 
-  **Return ​Type**:Double +    * Type:Int32 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-**fromLongitude** +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegreesLine(Double,​Double,​Double,​Double,​PointShape,​DistanceUnit) ​**
-  * **Type**:Double +
-  ​* **Description**:​N/​A+
  
-**fromLatitude** +  ​//N/A// 
-  * **Type**:​Double +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-**distance** +== Return Value == 
-  ​* **Type**:Double +  * Type:​Double 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-**distanceUnit** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * //​fromPointX//​ 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-**degree** +  ​//​fromPointY//​ 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +  * //toPointX/
-=== HUM=(PointShape,​PointShape,​Int32) === +    * Type:Double 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​toPointY//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.MultilineShape|MultilineShape]] +    * Type:Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +  ​//​pointShape//​ 
-**fromPoint*+    * Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Description:​N/​A
-  * **Description**:N/A+
  
-**toPoint** +  ​//​lengthUnit//​ 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:N/A+    * Description:​N/​A
  
-**count** +<div newline></​div>​ 
-  * **Type**:Int32 +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetNearestPointFromPointShapeDecimalDegreesLine(Double,​Double,​Double,​Double,​PointShape) ​**
-  ​* **Description**:​N/​A+
  
-[[#​Protected Methods|Go Back]] +  * //N/A// 
-=== HkM=(Double,​Double,​Double,​Double,​PointShape,​DistanceUnit) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Double +  * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**fromPointX** +  //fromPointX// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**fromPointY** +  ​//fromPointY// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**toPointX** +  ​//toPointX// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**toPointY** +  ​//toPointY// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**pointShape** +  ​//pointShape// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Description**:N/A+    * Description:​N/​A
  
-**lengthUnit** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetXFromDegreeOnSphere(Double,​Double,​DistanceUnit**
-  ​* **Description**:​N/​A+
  
-[[#​Protected Methods|Go Back]] +  * //N/A// 
-=== IEM=(Double,​Double,​DistanceUnit) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Double +  * Type:​Double 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**degreeX** +  //degreeX// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**degreeY** +  ​//degreeY// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-**distanceUnit** +  ​//distanceUnit// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +    * Type:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +<div newline></​div>​ 
-=== IUM=(Double,​DistanceUnit) ​=== +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetYFromDegreeOnSphere(Double,​DistanceUnit) ​**
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//N/A// 
-  * **Return Type**:​Double +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-==== Parameters ==== +== Return Value == 
-**degreeY** +  * Type:​Double 
-  ​* **Type**:Double +  * Description:​N/​A
-  ​* **Description**:N/A+
  
-**distanceUnit** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * //​degreeY//​ 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-[[#Protected Methods|Go Back]] +  * //​distanceUnit//​ 
-=== IkM=(String) === +    * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:String +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} AmendDegrees(String**
-  ​* **Description**:​N/​A+
  
-==== Parameters ==== +  * //N/A// 
-**degreesMinutesSeconds** +== Remarks ​== 
-  * **Type**:​String +  * //N/A//
-  * **Description**:​N/A+
  
-[[#​Protected Methods|Go Back]] +== Return Value == 
-=== MemberwiseClone() === +  * Type:String 
-N/A +  * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Object +  * //​degreesMinutesSeconds//​ 
-  * **Description**:N/A+    ​* Type:String 
 +    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-[[#​Protected Methods|Go Back]] +==== Public Properties ==== 
-===== Public Properties ​===== +==== Protected Properties ==== 
-===== Protected Properties ​===== +==== Public Events ====
-===== Public Events ​=====+
  
thinkgeo.mapsuite.core.decimaldegreeshelper.1442485643.txt.gz · Last modified: 2015/09/17 10:27 by admin