This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.decimaldegreeshelper [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.silverlightcore.decimaldegreeshelper [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper ====== | ====== ThinkGeo.MapSuite.SilverlightCore.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. | |
- | <!-- Class --> | + | |
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper]] | + | ***ThinkGeo.MapSuite.SilverlightCore.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}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDecimalDegreeFromDegreesMinutesSeconds(String)|GetDecimalDegreeFromDegreesMinutesSeconds]] | String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds)|GetDecimalDegreeFromDegreesMinutesSeconds]] | [[ThinkGeo.MapSuite.SilverlightCore.DegreesMinutesSeconds|DegreesMinutesSeconds]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDecimalDegreeFromDegreesMinutesSeconds(Int32, Int32, Double)|GetDecimalDegreeFromDegreesMinutesSeconds]] | Int32, Int32, Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsFromDecimalDegree(Double)|GetDegreesMinutesSecondsFromDecimalDegree]] | Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegree(Double, Int32)|GetDegreesMinutesSecondsStringFromDecimalDegree]] | Double, Int32 | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegree(Double)|GetDegreesMinutesSecondsStringFromDecimalDegree]] | Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature, Int32)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]], Int32 | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape, Int32)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]], Int32 | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape)|GetDegreesMinutesSecondsStringFromDecimalDegreePoint]] | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDistanceFromDecimalDegrees(Double, Double, Double, Double, DistanceUnit)|GetDistanceFromDecimalDegrees]] | Double, Double, Double, Double, [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDistanceFromDecimalDegrees(PointShape, PointShape, DistanceUnit)|GetDistanceFromDecimalDegrees]] | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]], [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]], [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetDistanceFromDecimalDegrees(Feature, Feature, DistanceUnit)|GetDistanceFromDecimalDegrees]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]], [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]], [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetLatitudeDifferenceFromDistance(Double, DistanceUnit, Double)|GetLatitudeDifferenceFromDistance]] | Double, [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]], Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetLongitudeDifferenceFromDistance(Double, DistanceUnit, Double)|GetLongitudeDifferenceFromDistance]] | Double, [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]], Double | | | | + | |
- | | {{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|}} 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.SilverlightCore.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.SilverlightCore.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.SilverlightCore.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.SilverlightCore.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.SilverlightCore.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.SilverlightCore.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.SilverlightCore.PointShape|PointShape]] | ||
+ | * Description:The point shape you will measure from. | ||
+ | |||
+ | * //toPoint// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] | ||
+ | * Description:The point shape you will measure to. | ||
+ | |||
+ | * //returningUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.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.SilverlightCore.Feature|Feature]] | ||
+ | * Description:The feature you will measure from. | ||
+ | |||
+ | * //toPointFeature// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | ||
+ | * Description:The feature you will measure to. | ||
+ | |||
+ | * //returningUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.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.SilverlightCore.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.SilverlightCore.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,Double) ** | ||
+ | |||
+ | * //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.SilverlightCore.DistanceUnit|DistanceUnit]] | ||
+ | * Description:The unit the distance is in, such as miles or kilometers. | ||
+ | |||
+ | * //longitude// | ||
+ | * Type:Double | ||
+ | * Description:The longitude on the globe that the distance is measured at. | ||
+ | |||
+ | <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// |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Object |
- | | obj | Object<!-- System.Object --> | | | + | * Description:N/A |
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== GetDecimalDegreeFromDegreesMinutesSeconds(String) ==== | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} dho=(Double,Double,Double,DistanceUnit,Double) ** |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | degreesMinutesSeconds | String<!-- System.String --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDecimalDegreeFromDegreesMinutesSeconds(DegreesMinutesSeconds) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //fromLongitude// |
- | | degreesMinutesSeconds | [[ThinkGeo.MapSuite.SilverlightCore.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.SilverlightCore.DegreesMinutesSeconds --> | | | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //fromLatitude// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDecimalDegreeFromDegreesMinutesSeconds(Int32, Int32, Double) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | * //distance// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | degrees | Int32<!-- System.Int32 --> | | | + | * Description:N/A |
- | | minutes | Int32<!-- System.Int32 --> | | | + | |
- | | seconds | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //distanceUnit// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] |
- | ==== GetDegreesMinutesSecondsFromDecimalDegree(Double) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.SilverlightCore.DegreesMinutesSeconds --> | | | + | |
- | === Parameters === | + | * //degree// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | decimalDegreesValue | Double<!-- System.Double --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} dxo=(Double,Double,Double,DistanceUnit,Double) ** |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegree(Double, Int32) ==== | + | |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | decimalDegreesValue | Double<!-- System.Double --> | | | + | * //N/A// |
- | | decimals | Int32<!-- System.Int32 --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegree(Double) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //fromLongitude// |
- | | decimalDegreesValue | Double<!-- System.Double --> | | | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //fromLatitude// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature, Int32) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //distance// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | point | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | * Description:N/A |
- | | decimalPlaces | Int32<!-- System.Int32 --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //distanceUnit// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(Feature) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //degree// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | point | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} eBo=(PointShape,PointShape,Int32) ** |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape, Int32) ==== | + | |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | pointShape | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.PointShape --> | | | + | * //N/A// |
- | | decimals | Int32<!-- System.Int32 --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.MultilineShape|MultilineShape]] |
- | ==== GetDegreesMinutesSecondsStringFromDecimalDegreePoint(PointShape) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //fromPoint// |
- | | pointShape | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.PointShape --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //toPoint// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] |
- | ==== GetDistanceFromDecimalDegrees(Double, Double, Double, Double, DistanceUnit) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | * //count// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Int32 |
- | | fromLongitude | Double<!-- System.Double --> | | | + | * Description:N/A |
- | | fromLatitude | Double<!-- System.Double --> | | | + | |
- | | toLongitude | Double<!-- System.Double --> | | | + | |
- | | toLatitude | Double<!-- System.Double --> | | | + | |
- | | returningUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} eRo=(Double,Double,Double,Double,PointShape,DistanceUnit) ** |
- | ==== GetDistanceFromDecimalDegrees(PointShape, PointShape, DistanceUnit) ==== | + | |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | fromPoint | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.PointShape --> | | | + | * //N/A// |
- | | toPoint | [[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.PointShape --> | | | + | |
- | | returningUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetDistanceFromDecimalDegrees(Feature, Feature, DistanceUnit) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //fromPointX// |
- | | fromPointFeature | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | * Type:Double |
- | | toPointFeature | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | * Description:N/A |
- | | returningUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //fromPointY// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetHashCode() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //toPointX// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //toPointY// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetLatitudeDifferenceFromDistance(Double, DistanceUnit, Double) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | * //pointShape// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] |
- | | distance | Double<!-- System.Double --> | | | + | * Description:N/A |
- | | distanceUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | | longitude | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //lengthUnit// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] |
- | ==== GetLongitudeDifferenceFromDistance(Double, DistanceUnit, Double) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} eho=(Double,Double,Double,Double,PointShape) ** |
- | | distance | Double<!-- System.Double --> | | | + | |
- | | distanceUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | | latitude | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.DecimalDegreesHelper --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetType() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //fromPointX// |
- | ==== ToString() ==== | + | * Type:Double |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //fromPointY// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //toPointX// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ===== Protected Methods ===== | + | * Description:N/A |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //toPointY// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //pointShape// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] |
- | ==== MemberwiseClone() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} exo=(Double,Double,DistanceUnit) ** |
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ===== Public Properties ===== | + | * //N/A// |
- | ===== Protected Properties ===== | + | |
- | ===== Public Events ===== | + | == Return Value == |
- | __NOTOC__ | + | * Type:Double |
- | [[Category:SilverlightMapSuiteCore]] | + | * Description:N/A |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | |
- | [[Category:UpdateDocumentation]] | + | == Parameters == |
+ | * //degreeX// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | * //degreeY// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | * //distanceUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} fBo=(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.SilverlightCore.DistanceUnit|DistanceUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||