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/18 05:40]
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 10: Line 13:
 ** {{wiki:​PublicMethod.gif|}} ToString() ** ** {{wiki:​PublicMethod.gif|}} ToString() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 22: Line 25:
 ** {{wiki:​PublicMethod.gif|}} Equals(Object) ** ** {{wiki:​PublicMethod.gif|}} Equals(Object) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 38: Line 41:
 ** {{wiki:​PublicMethod.gif|}} GetHashCode() ** ** {{wiki:​PublicMethod.gif|}} GetHashCode() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 50: Line 53:
 ** {{wiki:​PublicMethod.gif|}} GetType() ** ** {{wiki:​PublicMethod.gif|}} GetType() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 62: Line 65:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature,​Int32) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature,​Int32) **
  
-This method returns a string representation in degrees and minutes from a decimal degree point.+  * //This method returns a string representation in degrees and minutes from a decimal degree point.//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 82: Line 85:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature) **
  
-This method returns a string representation in degrees and minutes from a decimal degree point.+  * //This method returns a string representation in degrees and minutes from a decimal degree point.//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 98: Line 101:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(PointShape) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(PointShape) **
  
-This method returns a string representation in degrees and minutes from a decimal degree point.+  * //This method returns a string representation in degrees and minutes from a decimal degree point.//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 114: Line 117:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,​Int32) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,​Int32) **
  
-This method returns a string representation in degrees and minutes from a decimal degree point.+  * //This method returns a string representation in degrees and minutes from a decimal degree point.//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 134: Line 137:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsFromDecimalDegree(Double) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsFromDecimalDegree(Double) **
  
-This method returns a degrees, minutes and seconds structure from a decimal degree value.+  * //This method returns a degrees, minutes and seconds structure from a decimal degree value.//
 == Remarks == == 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.+  * //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 == == Return Value ==
Line 150: Line 153:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegree(Double) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegree(Double) **
  
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+  * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.//
 == Remarks == == Remarks ==
-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".+  * //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 == == Return Value ==
Line 166: Line 169:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegree(Double,​Int32) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegree(Double,​Int32) **
  
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value and a specified precision.+  * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value and a specified precision.//
 == Remarks == == 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"​.+  * //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 == == Return Value ==
Line 186: Line 189:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape) **
  
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+  * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.//
 == Remarks == == Remarks ==
-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"​.+  * //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 == == Return Value ==
Line 202: Line 205:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape,​Int32) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape,​Int32) **
  
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+  * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 222: Line 225:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature,​Int32) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature,​Int32) **
  
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+  * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 242: Line 245:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature) **
  
-This method returns a string representation in degrees, minutes and seconds from a decimal degree value.+  * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 258: Line 261:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(String) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(String) **
  
-This method returns a decimal degree value based on a string containing degrees, minutes, and seconds.+  * //This method returns a decimal degree value based on a string containing degrees, minutes, and seconds.//
 == Remarks == == Remarks ==
-If you pass in "​75?​21'​ 28''"​ as a string, then the result will be 75.35777777784.+  * //If you pass in "​75?​21'​ 28''"​ as a string, then the result will be 75.35777777784.//
  
 == Return Value == == Return Value ==
Line 274: Line 277:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) **
  
-This method returns a decimal degree value based on a degree, minute and second structure.+  * //This method returns a decimal degree value based on a degree, minute and second structure.//
 == Remarks == == Remarks ==
-If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.+  * //If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.//
  
 == Return Value == == Return Value ==
Line 290: Line 293:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(Int32,​Int32,​Double) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(Int32,​Int32,​Double) **
  
-This method returns a decimal degree value based on a set of degrees, minutes, and seconds.+  * //This method returns a decimal degree value based on a set of degrees, minutes, and seconds.//
 == Remarks == == Remarks ==
-If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.+  * //If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.//
  
 == Return Value == == Return Value ==
Line 314: Line 317:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(PointShape,​PointShape,​DistanceUnit) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(PointShape,​PointShape,​DistanceUnit) **
  
-This method returns the distance between two decimal degree points.+  * //This method returns the distance between two decimal degree points.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 338: Line 341:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(Feature,​Feature,​DistanceUnit) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(Feature,​Feature,​DistanceUnit) **
  
-This method returns the distance between two decimal degree points.+  * //This method returns the distance between two decimal degree points.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 362: Line 365:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(Double,​Double,​Double,​Double,​DistanceUnit) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetDistanceFromDecimalDegrees(Double,​Double,​Double,​Double,​DistanceUnit) **
  
-This method returns the distance between two decimal degree points.+  * //This method returns the distance between two decimal degree points.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 394: Line 397:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetLongitudeDifferenceFromDistance(Double,​DistanceUnit,​Double) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetLongitudeDifferenceFromDistance(Double,​DistanceUnit,​Double) **
  
-Calculate the amount of longitude change given a certain distance and latitude.+  * //Calculate the amount of longitude change given a certain distance and latitude.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 418: Line 421:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetLatitudeDifferenceFromDistance(Double,​DistanceUnit) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetLatitudeDifferenceFromDistance(Double,​DistanceUnit) **
  
-Calculate the amount of longitude change given a certain distance and longitude.+  * //Calculate the amount of longitude change given a certain distance and longitude.//
 == Remarks == == Remarks ==
-None+  * //None//
  
 == Return Value == == Return Value ==
Line 438: Line 441:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ConvertToMgrs(Double,​Double) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ConvertToMgrs(Double,​Double) **
  
-Convert the input latitude and longitude to MGRS string+  * //Convert the input latitude and longitude to MGRS string//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 458: Line 461:
 ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ConvertFromMgrs(String) ** ** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ConvertFromMgrs(String) **
  
-Convert the MGRS string to latitude and longitude+  * //Convert the MGRS string to latitude and longitude//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 475: Line 478:
 ** {{wiki:​ProtectedMethod.gif|}} Finalize() ** ** {{wiki:​ProtectedMethod.gif|}} Finalize() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 487: Line 490:
 ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 497: Line 500:
 == Parameters == == Parameters ==
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GkM=(Double) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesStringFromDecimalDegree(Double) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 513: Line 516:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GkM=(Double,​Int32) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetDegreesMinutesStringFromDecimalDegree(Double,​Int32) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 533: Line 536:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​G0M=(Double,​Double,​Double,​DistanceUnit,​Double) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetLatitudeFromDistanceAndDegree(Double,​Double,​Double,​DistanceUnit,​Double) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 565: Line 568:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​HEM=(Double,​Double,​Double,​DistanceUnit,​Double) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetLongitudeFromDistanceAndDegree(Double,​Double,​Double,​DistanceUnit,​Double) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 597: Line 600:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​HUM=(PointShape,​PointShape,​Int32) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetGreatCircle(PointShape,​PointShape,​Int32) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 621: Line 624:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​HkM=(Double,​Double,​Double,​Double,​PointShape,​DistanceUnit) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetDistanceFromDecimalDegreesLine(Double,​Double,​Double,​Double,​PointShape,​DistanceUnit) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 657: Line 660:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​H0M=(Double,​Double,​Double,​Double,​PointShape) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetNearestPointFromPointShapeDecimalDegreesLine(Double,​Double,​Double,​Double,​PointShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 689: Line 692:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​IEM=(Double,​Double,​DistanceUnit) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetXFromDegreeOnSphere(Double,​Double,​DistanceUnit) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 713: Line 716:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​IUM=(Double,​DistanceUnit) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​GetYFromDegreeOnSphere(Double,​DistanceUnit) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 733: Line 736:
  
 <div newline></​div>​ <div newline></​div>​
-** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​IkM=(String) **+** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} ​AmendDegrees(String) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
thinkgeo.mapsuite.core.decimaldegreeshelper.1442554807.txt.gz · Last modified: 2015/09/18 05:40 by admin