This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
thinkgeo.mapsuite.core.conversion [2015/09/22 08:16] admin |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Core.Conversion ====== | ||
| - | This static class provides a conversion method to go to and from different units. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | ***ThinkGeo.MapSuite.Core.Conversion** | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ==== Protected Constructors ==== | ||
| - | ==== Public Methods ==== | ||
| - | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
| - | |||
| - | * //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|}} 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// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
| - | * Description:The unit of measure for the length in the Amount parameter. | ||
| - | |||
| - | * //toUnit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
| - | * Description:The unit of measure for the result. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} 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:[[ThinkGeo.MapSuite.Core.AreaUnit|AreaUnit]] | ||
| - | * Description:The unit of measure for the area in the Amount parameter. | ||
| - | |||
| - | * //toUnit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.AreaUnit|AreaUnit]] | ||
| - | * Description:The unit of measure for the result. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertAngleUnits(Double,AngleUnit,AngleUnit) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //angle// | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | * //fromUnit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.AngleUnit|AngleUnit]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //toUnit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.AngleUnit|AngleUnit]] | ||
| - | * Description:N/A | ||
| - | |||
| - | <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|}} ConvertScreenMeasureUnits(Double,ScreenUnit,ScreenUnit) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //amount// | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | * //fromUnit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.ScreenUnit|ScreenUnit]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //toUnit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.ScreenUnit|ScreenUnit]] | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} ConvertGeographyUnitToDistanceUnit(GeographyUnit) ** | ||
| - | |||
| - | * //This method returns a DistanceUnit that has been converted from a GeographyUnit.// | ||
| - | == Remarks == | ||
| - | * //None// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
| - | * Description:This method returns a DistanceUnit that has been converted from a GeographyUnit. | ||
| - | |||
| - | == Parameters == | ||
| - | * //unit// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
| - | * Description:The GeographyUnit you want to convert. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} DegreesToRadians(Single) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //degrees// | ||
| - | * Type:Single | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetBearing(PointShape,PointShape) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //p1// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //p2// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetRegulateAngle(Double) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //angle// | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ==== Public Properties ==== | ||
| - | ==== Protected Properties ==== | ||
| - | ==== Public Events ==== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.