This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.core.decimaldegreeshelper [2015/08/20 03:08] 127.0.0.1 external edit |
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}} | ||
- | |||
- | <!-- Class --> | ||
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 ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.Core.DecimalDegreesHelper]] | + | ***ThinkGeo.MapSuite.Core.DecimalDegreesHelper** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertFromMgrs(String)|ConvertFromMgrs]] | String | | Convert the MGRS string to latitude and longitude | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertToMgrs(Double, Double)|ConvertToMgrs]] | Double, Double | | Convert the input latitude and longitude to MGRS string | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDecimalDegreeFromDegreesMinutesSeconds(Int32, Int32, Double)|GetDecimalDegreeFromDegreesMinutesSeconds]] | Int32, Int32, Double | | This method returns a decimal degree value based on a set of degrees, minutes, and seconds. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDecimalDegreeFromDegreesMinutesSeconds(String)|GetDecimalDegreeFromDegreesMinutesSeconds]] | String | | This method returns a decimal degree value based on a string containing degrees, minutes, and seconds. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds)|GetDecimalDegreeFromDegreesMinutesSeconds]] | [[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] | | This method returns a decimal degree value based on a degree, minute and second structure. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsFromDecimalDegree(Double)|GetDegreesMinutesSecondsFromDecimalDegree]] | Double | | This method returns a degrees, minutes and seconds structure from a decimal degree value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegree(Double)|GetDegreesMinutesSecondsStringFromDecimalDegree]] | Double | | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegree(Double, Int32)|GetDegreesMinutesSecondsStringFromDecimalDegree]] | Double, Int32 | | This method returns a string representation in degrees, minutes and seconds from a decimal degree value and a specified precision. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape, Int32)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], Int32 | | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature, Int32)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], Int32 | | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]] | | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesStringFromDecimalDegreePoint(Feature, Int32)|GetDegreesMinutesStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], Int32 | | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesStringFromDecimalDegreePoint(PointShape, Int32)|GetDegreesMinutesStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], Int32 | | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesStringFromDecimalDegreePoint(PointShape)|GetDegreesMinutesStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesStringFromDecimalDegreePoint(Feature)|GetDegreesMinutesStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]] | | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDistanceFromDecimalDegrees(Feature, Feature, DistanceUnit)|GetDistanceFromDecimalDegrees]] | [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.Feature|Feature]], [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | | This method returns the distance between two decimal degree points. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDistanceFromDecimalDegrees(Double, Double, Double, Double, DistanceUnit)|GetDistanceFromDecimalDegrees]] | Double, Double, Double, Double, [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | | This method returns the distance between two decimal degree points. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDistanceFromDecimalDegrees(PointShape, PointShape, DistanceUnit)|GetDistanceFromDecimalDegrees]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | | This method returns the distance between two decimal degree points. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetLatitudeDifferenceFromDistance(Double, DistanceUnit)|GetLatitudeDifferenceFromDistance]] | Double, [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | | Calculate the amount of longitude change given a certain distance and longitude. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetLongitudeDifferenceFromDistance(Double, DistanceUnit, Double)|GetLongitudeDifferenceFromDistance]] | Double, [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]], Double | | Calculate the amount of longitude change given a certain distance and latitude. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //obj// | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature,Int32) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees and minutes from a decimal degree point.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees and minutes from a decimal degree point. | ||
+ | |||
+ | == Parameters == | ||
+ | * //point// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
+ | * Description:The feature you want to convert. | ||
+ | |||
+ | * //decimals// | ||
+ | * Type:Int32 | ||
+ | * Description:Number of decimals for the Minutes value | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(Feature) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees and minutes from a decimal degree point.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees and minutes from a decimal degree point. | ||
+ | |||
+ | == Parameters == | ||
+ | * //point// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
+ | * Description:The point you want to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(PointShape) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees and minutes from a decimal degree point.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees and minutes from a decimal degree point. | ||
+ | |||
+ | == Parameters == | ||
+ | * //pointShape// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesStringFromDecimalDegreePoint(PointShape,Int32) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees and minutes from a decimal degree point.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees and minutes from a decimal degree point. | ||
+ | |||
+ | == Parameters == | ||
+ | * //pointShape// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //decimals// | ||
+ | * Type:Int32 | ||
+ | * Description:Number of decimals for the Minutes value | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesSecondsFromDecimalDegree(Double) ** | ||
+ | |||
+ | * //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 == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] | ||
+ | * Description:This method returns a degrees, minutes and seconds structure from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //decimalDegreesValue// | ||
+ | * Type:Double | ||
+ | * Description:The decimal degree value you want to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegree(Double) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.// | ||
+ | == 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".// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //decimalDegreesValue// | ||
+ | * Type:Double | ||
+ | * Description:The number of decimal degrees to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.// | ||
+ | == 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 == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //decimalDegreesValue// | ||
+ | * Type:Double | ||
+ | * Description:The number of decimal degree to convert. | ||
+ | |||
+ | * //decimals// | ||
+ | * Type:Int32 | ||
+ | * Description:The number of float decision for the second. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.// | ||
+ | == 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".// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //pointShape// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:The point you want to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //pointShape// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:The point of decimal degree to convert. | ||
+ | |||
+ | * //decimals// | ||
+ | * Type:Int32 | ||
+ | * Description:The number of decimal degree to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //point// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
+ | * Description:The feature whose decimal degrees to convert. | ||
+ | |||
+ | * //decimalPlaces// | ||
+ | * Type:Int32 | ||
+ | * Description:The number of decimal degree to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature) ** | ||
+ | |||
+ | * //This method returns a string representation in degrees, minutes and seconds from a decimal degree value.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | ||
+ | |||
+ | == Parameters == | ||
+ | * //point// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
+ | * Description:The feature whose decimal degrees to convert. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(String) ** | ||
+ | |||
+ | * //This method returns a decimal degree value based on a string containing degrees, minutes, and seconds.// | ||
+ | == Remarks == | ||
+ | * //If you pass in "75?21' 28''" as a string, then the result will be 75.35777777784.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:This method returns a decimal degree value based on a string containing degrees, minutes, and seconds. | ||
+ | |||
+ | == Parameters == | ||
+ | * //degreesMinutesSeconds// | ||
+ | * Type:String | ||
+ | * Description:This parameter represents the degrees, minutes and seconds in a string. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) ** | ||
+ | |||
+ | * //This method returns a decimal degree value based on a degree, minute and second structure.// | ||
+ | == Remarks == | ||
+ | * //If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:This method returns a decimal degree value based on a degree, minute and second structure. | ||
+ | |||
+ | == Parameters == | ||
+ | * //degreesMinutesSeconds// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] | ||
+ | * Description:This structure represents the degrees, minutes and seconds. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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.// | ||
+ | == Remarks == | ||
+ | * //If you pass in 75, 21 and 28, the result passed back will be 75.2577777778.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:This method returns a decimal degree value based on a set of degrees, minutes, and seconds. | ||
+ | |||
+ | == Parameters == | ||
+ | * //degrees// | ||
+ | * Type:Int32 | ||
+ | * Description:This parameter represents the degree component of the degrees, minutes and seconds. | ||
+ | |||
+ | * //minutes// | ||
+ | * Type:Int32 | ||
+ | * Description:This parameter represents the minute component of the degrees, minutes and seconds. | ||
+ | |||
+ | * //seconds// | ||
+ | * Type:Double | ||
+ | * Description:This parameter represents the second component of the degrees, minutes and seconds. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDistanceFromDecimalDegrees(PointShape,PointShape,DistanceUnit) ** | ||
+ | |||
+ | * //This method returns the distance between two decimal degree points.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter. | ||
+ | |||
+ | == Parameters == | ||
+ | * //fromPoint// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:The point shape you will measure from. | ||
+ | |||
+ | * //toPoint// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:The point shape you will measure to. | ||
+ | |||
+ | * //returningUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
+ | * Description:The unit you would like your results back in, such as miles or kilometers. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDistanceFromDecimalDegrees(Feature,Feature,DistanceUnit) ** | ||
+ | |||
+ | * //This method returns the distance between two decimal degree points.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter. | ||
+ | |||
+ | == Parameters == | ||
+ | * //fromPointFeature// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
+ | * Description:The feature you will measure from. | ||
+ | |||
+ | * //toPointFeature// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
+ | * Description:The feature you will measure to. | ||
+ | |||
+ | * //returningUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
+ | * Description:The unit you would like your results back in, such as miles or kilometers. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetDistanceFromDecimalDegrees(Double,Double,Double,Double,DistanceUnit) ** | ||
+ | |||
+ | * //This method returns the distance between two decimal degree points.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter. | ||
+ | |||
+ | == Parameters == | ||
+ | * //fromLongitude// | ||
+ | * Type:Double | ||
+ | * Description:This is the from longitude value. | ||
+ | |||
+ | * //fromLatitude// | ||
+ | * Type:Double | ||
+ | * Description:This is the from latitude value. | ||
+ | |||
+ | * //toLongitude// | ||
+ | * Type:Double | ||
+ | * Description:This is the to longitude value. | ||
+ | |||
+ | * //toLatitude// | ||
+ | * Type:Double | ||
+ | * Description:This is the to latitude value. | ||
+ | |||
+ | * //returningUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
+ | * 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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLongitudeDifferenceFromDistance(Double,DistanceUnit,Double) ** | ||
+ | |||
+ | * //Calculate the amount of longitude change given a certain distance and latitude.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:Double representing the distance. | ||
+ | |||
+ | == Parameters == | ||
+ | * //distance// | ||
+ | * Type:Double | ||
+ | * Description:The distance over which you would like to know the change in longitude. | ||
+ | |||
+ | * //distanceUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
+ | * Description:The unit the distance is in, such as miles or kilometers. | ||
+ | |||
+ | * //latitude// | ||
+ | * Type:Double | ||
+ | * Description:The latitude on the globe that the distance is measured at. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLatitudeDifferenceFromDistance(Double,DistanceUnit) ** | ||
+ | |||
+ | * //Calculate the amount of longitude change given a certain distance and longitude.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:Double representing the distance. | ||
+ | |||
+ | == Parameters == | ||
+ | * //distance// | ||
+ | * Type:Double | ||
+ | * Description:The distance over which you would like to know the change in longitude. | ||
+ | |||
+ | * //distanceUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
+ | * Description:The unit the distance is in, such as miles or kilometers. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertToMgrs(Double,Double) ** | ||
+ | |||
+ | * //Convert the input latitude and longitude to MGRS string// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:The MGRS corresponding to input latitude and longitude. | ||
+ | |||
+ | == Parameters == | ||
+ | * //longitude// | ||
+ | * Type:Double | ||
+ | * Description:Longitude coordinate. | ||
+ | |||
+ | * //latitude// | ||
+ | * Type:Double | ||
+ | * Description:Latitude coordinate. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertFromMgrs(String) ** | ||
+ | |||
+ | * //Convert the MGRS string to latitude and longitude// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
+ | * Description:The converted coordinate. | ||
+ | |||
+ | == Parameters == | ||
+ | * //mgrs// | ||
+ | * Type:String | ||
+ | * Description:MGRS string | ||
+ | |||
+ | <div newline></div> | ||
==== Protected Methods ==== | ==== Protected Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | * //N/A// |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
- | ==== Protected Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | ==== Public Events ==== | + | == Parameters == |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | ===== Public Constructors ===== | + | * //N/A// |
- | ===== Protected Constructors ===== | + | == Remarks == |
- | ===== Public Methods ===== | + | * //N/A// |
- | ==== ConvertFromMgrs(String) ==== | + | |
- | <!-- static --> | + | |
- | Convert the MGRS string to latitude and longitude | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The converted coordinate. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Object |
- | | mgrs | String<!-- System.String --> | MGRS string | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== ConvertToMgrs(Double, Double) ==== | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesStringFromDecimalDegree(Double) ** |
- | <!-- static --> | + | |
- | Convert the input latitude and longitude to MGRS string | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | The MGRS corresponding to input latitude and longitude. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | longitude | Double<!-- System.Double --> | Longitude coordinate. | | + | * //N/A// |
- | | latitude | Double<!-- System.Double --> | Latitude coordinate. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== Equals(Object) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //decimalDegreesValue// |
- | | obj | Object<!-- System.Object --> | | | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetDegreesMinutesStringFromDecimalDegree(Double,Int32) ** |
- | ==== GetDecimalDegreeFromDegreesMinutesSeconds(Int32, Int32, Double) ==== | + | |
- | <!-- static --> | + | |
- | This method returns a decimal degree value based on a set of degrees, minutes, and seconds. | + | |
- | === Remarks === | + | |
- | If you pass in 75, 21 and 28, the result passed back will be 75.2577777778. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | This method returns a decimal degree value based on a set of degrees, minutes, and seconds. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | degrees | Int32<!-- System.Int32 --> | This parameter represents the degree component of the degrees, minutes and seconds. | | + | * //N/A// |
- | | minutes | Int32<!-- System.Int32 --> | This parameter represents the minute component of the degrees, minutes and seconds. | | + | |
- | | seconds | Double<!-- System.Double --> | This parameter represents the second component of the degrees, minutes and seconds. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== GetDecimalDegreeFromDegreesMinutesSeconds(String) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a decimal degree value based on a string containing degrees, minutes, and seconds. | + | |
- | === Remarks === | + | |
- | If you pass in "75?21' 28//" as a string, then the result will be 75.35777777784. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | This method returns a decimal degree value based on a string containing degrees, minutes, and seconds. | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //decimalDegreesValue// |
- | | degreesMinutesSeconds | String<!-- System.String --> | This parameter represents the degrees, minutes and seconds in a string. | | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //decimals// |
- | [[#Public Methods|Go Back]] | + | * Type:Int32 |
- | ==== GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a decimal degree value based on a degree, minute and second structure. | + | |
- | === Remarks === | + | |
- | If you pass in 75, 21 and 28, the result passed back will be 75.2577777778. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | This method returns a decimal degree value based on a degree, minute and second structure. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetLatitudeFromDistanceAndDegree(Double,Double,Double,DistanceUnit,Double) ** |
- | | degreesMinutesSeconds | [[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | This structure represents the degrees, minutes and seconds. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetDegreesMinutesSecondsFromDecimalDegree(Double) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | This method returns a degrees, minutes and seconds structure from a decimal degree value. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | decimalDegreesValue | Double<!-- System.Double --> | The decimal degree value you want to convert. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //fromLongitude// |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegree(Double) ==== | + | * Type:Double |
- | <!-- static --> | + | * Description:N/A |
- | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | + | |
- | === Overloads === | + | |
- | This overload allows you to specify the decimal degree value. | + | |
- | === 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". | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | === Parameters === | + | * //fromLatitude// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | decimalDegreesValue | Double<!-- System.Double --> | The number of decimal degrees to convert. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //distance// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegree(Double, Int32) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees, minutes and seconds from a decimal degree value and a specified precision. | + | |
- | === Overloads === | + | |
- | This overload allows you to specify the decimal degree value along with the precision of the returned value. | + | |
- | === 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | === Parameters === | + | * //distanceUnit// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] |
- | | decimalDegreesValue | Double<!-- System.Double --> | The number of decimal degree to convert. | | + | * Description:N/A |
- | | decimals | Int32<!-- System.Int32 --> | The number of float decision for the second. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //degree// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a point shape to be converted. | + | |
- | === 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". | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetLongitudeFromDistanceAndDegree(Double,Double,Double,DistanceUnit,Double) ** |
- | | pointShape | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The point you want to convert. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape, Int32) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a point shape to be converted, along with the precision of the returned value. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | pointShape | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The point of decimal degree to convert. | | + | * Description:N/A |
- | | decimals | Int32<!-- System.Int32 --> | The number of decimal degree to convert. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //fromLongitude// |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature, Int32) ==== | + | * Type:Double |
- | <!-- static --> | + | * Description:N/A |
- | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a feature to be converted, along with the precision of the returned value. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | === Parameters === | + | * //fromLatitude// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | point | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | The feature whose decimal degrees to convert. | | + | * Description:N/A |
- | | decimalPlaces | Int32<!-- System.Int32 --> | The number of decimal degree to convert. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //distance// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a feature to be converted, along with the precision of the returned value. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees, minutes and seconds from a decimal degree value. | | + | |
- | === Parameters === | + | * //distanceUnit// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] |
- | | point | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | The feature whose decimal degrees to convert. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //degree// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDegreesMinutesStringFromDecimalDegreePoint(Feature, Int32) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees and minutes from a decimal degree point. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a point shape to be converted. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetGreatCircle(PointShape,PointShape,Int32) ** |
- | | point | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | The feature you want to convert. | | + | |
- | | decimals | Int32<!-- System.Int32 --> | Number of decimals for the Minutes value | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetDegreesMinutesStringFromDecimalDegreePoint(PointShape, Int32) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees and minutes from a decimal degree point. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a point shape to be converted. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.MultilineShape|MultilineShape]] |
- | | pointShape | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | * Description:N/A |
- | | decimals | Int32<!-- System.Int32 --> | Number of decimals for the Minutes value | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //fromPoint// |
- | ==== GetDegreesMinutesStringFromDecimalDegreePoint(PointShape) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] |
- | <!-- static --> | + | * Description:N/A |
- | This method returns a string representation in degrees and minutes from a decimal degree point. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a point shape to be converted. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | === Parameters === | + | * //toPoint// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] |
- | | pointShape | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //count// |
- | [[#Public Methods|Go Back]] | + | * Type:Int32 |
- | ==== GetDegreesMinutesStringFromDecimalDegreePoint(Feature) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns a string representation in degrees and minutes from a decimal degree point. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a point shape to be converted. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a string representation in degrees and minutes from a decimal degree point. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetDistanceFromDecimalDegreesLine(Double,Double,Double,Double,PointShape,DistanceUnit) ** |
- | | point | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | The point you want to convert. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetDistanceFromDecimalDegrees(Feature, Feature, DistanceUnit) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | This method returns the distance between two decimal degree points. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in two point shapes. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | fromPointFeature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | The feature you will measure from. | | + | * Description:N/A |
- | | toPointFeature | [[ThinkGeo.MapSuite.Core.Feature|Feature]]<!-- ThinkGeo.MapSuite.Core.Feature --> | The feature you will measure to. | | + | |
- | | returningUnit | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.Core.DistanceUnit --> | The unit you would like your results back in, such as miles or kilometers. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //fromPointX// |
- | ==== GetDistanceFromDecimalDegrees(Double, Double, Double, Double, DistanceUnit) ==== | + | * Type:Double |
- | <!-- static --> | + | * Description:N/A |
- | This method returns the distance between two decimal degree points. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the from and to latitude and longitude values. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter. | | + | |
- | === Parameters === | + | * //fromPointY// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | fromLongitude | Double<!-- System.Double --> | This is the from longitude value. | | + | * Description:N/A |
- | | fromLatitude | Double<!-- System.Double --> | This is the from latitude value. | | + | |
- | | toLongitude | Double<!-- System.Double --> | This is the to longitude value. | | + | |
- | | toLatitude | Double<!-- System.Double --> | This is the to latitude value. | | + | |
- | | returningUnit | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.Core.DistanceUnit --> | 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. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //toPointX// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDistanceFromDecimalDegrees(PointShape, PointShape, DistanceUnit) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method returns the distance between two decimal degree points. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in two point shapes. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | This method returns the distance between two decimal degree points in the unit specified by the returningUnit parameter. | | + | |
- | === Parameters === | + | * //toPointY// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | fromPoint | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The point shape you will measure from. | | + | * Description:N/A |
- | | toPoint | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The point shape you will measure to. | | + | |
- | | returningUnit | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.Core.DistanceUnit --> | The unit you would like your results back in, such as miles or kilometers. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //pointShape// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] |
- | ==== GetHashCode() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //lengthUnit// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetNearestPointFromPointShapeDecimalDegreesLine(Double,Double,Double,Double,PointShape) ** |
- | ==== GetLatitudeDifferenceFromDistance(Double, DistanceUnit) ==== | + | |
- | <!-- static --> | + | |
- | Calculate the amount of longitude change given a certain distance and longitude. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | Double representing the distance. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | distance | Double<!-- System.Double --> | The distance over which you would like to know the change in longitude. | | + | * //N/A// |
- | | distanceUnit | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.Core.DistanceUnit --> | The unit the distance is in, such as miles or kilometers. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] |
- | ==== GetLongitudeDifferenceFromDistance(Double, DistanceUnit, Double) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | Calculate the amount of longitude change given a certain distance and latitude. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | Double representing the distance. | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //fromPointX// |
- | | distance | Double<!-- System.Double --> | The distance over which you would like to know the change in longitude. | | + | * Type:Double |
- | | distanceUnit | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.Core.DistanceUnit --> | The unit the distance is in, such as miles or kilometers. | | + | * Description:N/A |
- | | latitude | Double<!-- System.Double --> | The latitude on the globe that the distance is measured at. | | + | |
- | <!-- ThinkGeo.MapSuite.Core.DecimalDegreesHelper --> | + | * //fromPointY// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetType() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | * //toPointX// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //toPointY// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== ToString() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //pointShape// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetXFromDegreeOnSphere(Double,Double,DistanceUnit) ** |
- | ===== Protected Methods ===== | + | |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Double |
- | ==== MemberwiseClone() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //degreeX// |
+ | * Type:Double | ||
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //degreeY// |
- | [[#Protected Methods|Go Back]] | + | * Type:Double |
- | ===== Public Properties ===== | + | * Description:N/A |
- | ===== Protected Properties ===== | + | |
- | ===== Public Events ===== | + | * //distanceUnit// |
- | __NOTOC__ | + | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] |
- | [[Category:MapSuiteCore]] | + | * Description:N/A |
- | [[Category:ThinkGeo.MapSuite.Core]] | + | |
- | [[Category:UpdateDocumentation]] | + | <div newline></div> |
+ | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetYFromDegreeOnSphere(Double,DistanceUnit) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //degreeY// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | * //distanceUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} AmendDegrees(String) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //degreesMinutesSeconds// | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||