This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.conversion [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.silverlightcore.conversion [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.Conversion ====== | ====== ThinkGeo.MapSuite.SilverlightCore.Conversion ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | + | This static class provides a conversion method to go to and from different units. | |
- | <!-- Class --> | + | |
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.SilverlightCore.Conversion]] | + | ***ThinkGeo.MapSuite.SilverlightCore.Conversion** |
===== 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}}[[#ConvertMeasureUnits(Double, AreaUnit, AreaUnit)|ConvertMeasureUnits]] | Double, [[ThinkGeo.MapSuite.SilverlightCore.AreaUnit|AreaUnit]], [[ThinkGeo.MapSuite.SilverlightCore.AreaUnit|AreaUnit]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertMeasureUnits(Double, DistanceUnit, DistanceUnit)|ConvertMeasureUnits]] | Double, [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]], [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //N/A// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //N/A// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:String |
+ | * Description:N/A | ||
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | ==== Public Events ==== | + | * //N/A// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
- | ===== Public Constructors ===== | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Boolean |
- | ===== Public Methods ===== | + | * Description:N/A |
- | ==== ConvertMeasureUnits(Double, AreaUnit, AreaUnit) ==== | + | |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //obj// |
- | | amount | Double<!-- System.Double --> | | | + | * Type:Object |
- | | fromUnit | [[ThinkGeo.MapSuite.SilverlightCore.AreaUnit|AreaUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.AreaUnit --> | | | + | * Description:N/A |
- | | toUnit | [[ThinkGeo.MapSuite.SilverlightCore.AreaUnit|AreaUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.AreaUnit --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Conversion --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | ==== ConvertMeasureUnits(Double, DistanceUnit, DistanceUnit) ==== | + | |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Double<!-- System.Double --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | amount | Double<!-- System.Double --> | | | + | * //N/A// |
- | | fromUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | | toUnit | [[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.DistanceUnit --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Conversion --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Int32 |
- | ==== Equals(Object) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | obj | Object<!-- System.Object --> | | | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetHashCode() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Type |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== GetType() ==== | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMeasureUnits(Double,DistanceUnit,DistanceUnit) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | * //This method converts from one unit of measure to another.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //None// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== ToString() ==== | + | * Description:The return length size, represented in the unit specified in the toUnit parameter. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //amount// |
+ | * Type:Double | ||
+ | * Description:The total length size, represented in the unit specified in the fromUnit parameter. | ||
- | <!-- System.Object --> | + | * //fromUnit// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] |
- | ===== Protected Methods ===== | + | * Description:The unit of measure for the length in the Amount parameter. |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //toUnit// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] |
+ | * Description:The unit of measure for the result. | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMeasureUnits(Double,AreaUnit,AreaUnit) ** |
- | ==== MemberwiseClone() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | * //This method converts from one unit of measure to another.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //None// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Double |
- | ===== Public Properties ===== | + | * Description:The return area size, represented in the unit specified in the toUnit parameter. |
- | ===== Protected Properties ===== | + | |
- | ===== Public Events ===== | + | == Parameters == |
- | __NOTOC__ | + | * //amount// |
- | [[Category:SilverlightMapSuiteCore]] | + | * Type:Double |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | * Description:The total area size, represented in the unit specified in the fromUnit parameter. |
- | [[Category:UpdateDocumentation]] | + | |
+ | * //fromUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.AreaUnit|AreaUnit]] | ||
+ | * Description:The unit of measure for the area in the Amount parameter. | ||
+ | |||
+ | * //toUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.AreaUnit|AreaUnit]] | ||
+ | * Description:The unit of measure for the result. | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} tRo=(GeographyUnit) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.DistanceUnit|DistanceUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //unit// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} tho=(Single) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //degrees// | ||
+ | * Type:Single | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||