User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.conversion

ThinkGeo.MapSuite.SilverlightCore.Conversion

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This static class provides a conversion method to go to and from different units.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.SilverlightCore.Conversion

Members Summary

Public Constructors

Protected Constructors

Public Methods

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

ConvertMeasureUnits(Double,DistanceUnit,DistanceUnit)

  • This method converts from one unit of measure to another.
Remarks
  • None
Return Value
  • Type:Double
  • Description:The return length size, represented in the unit specified in the toUnit parameter.
Parameters
  • amount
    • Type:Double
    • Description:The total length size, represented in the unit specified in the fromUnit parameter.
  • fromUnit
    • Description:The unit of measure for the length in the Amount parameter.
  • toUnit
    • Description:The unit of measure for the result.

ConvertMeasureUnits(Double,AreaUnit,AreaUnit)

  • This method converts from one unit of measure to another.
Remarks
  • None
Return Value
  • Type:Double
  • Description:The return area size, represented in the unit specified in the toUnit parameter.
Parameters
  • amount
    • Type:Double
    • Description:The total area size, represented in the unit specified in the fromUnit parameter.
  • fromUnit
    • Type:AreaUnit
    • Description:The unit of measure for the area in the Amount parameter.
  • toUnit
    • Type:AreaUnit
    • Description:The unit of measure for the result.

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

tRo=(GeographyUnit)

  • N/A
Remarks
  • N/A
Return Value
Parameters

tho=(Single)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:N/A
Parameters
  • degrees
    • Type:Single
    • Description:N/A

Public Properties

Protected Properties

Public Events

thinkgeo.mapsuite.silverlightcore.conversion.txt · Last modified: 2017/03/16 21:59 (external edit)