This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.conversion [2015/09/21 01:01] admin |
thinkgeo.mapsuite.core.conversion [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.Conversion ====== | ====== ThinkGeo.MapSuite.Core.Conversion ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This static class provides a conversion method to go to and from different units. | This static class provides a conversion method to go to and from different units. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 10: | Line 13: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 22: | Line 25: | ||
** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 38: | Line 41: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 50: | Line 53: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 62: | Line 65: | ||
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMeasureUnits(Double,DistanceUnit,DistanceUnit) ** | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMeasureUnits(Double,DistanceUnit,DistanceUnit) ** | ||
- | This method converts from one unit of measure to another. | + | * //This method converts from one unit of measure to another.// |
== Remarks == | == Remarks == | ||
- | None | + | * //None// |
== Return Value == | == Return Value == | ||
Line 86: | Line 89: | ||
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMeasureUnits(Double,AreaUnit,AreaUnit) ** | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMeasureUnits(Double,AreaUnit,AreaUnit) ** | ||
- | This method converts from one unit of measure to another. | + | * //This method converts from one unit of measure to another.// |
== Remarks == | == Remarks == | ||
- | None | + | * //None// |
== Return Value == | == Return Value == | ||
Line 106: | Line 109: | ||
* Type:[[ThinkGeo.MapSuite.Core.AreaUnit|AreaUnit]] | * Type:[[ThinkGeo.MapSuite.Core.AreaUnit|AreaUnit]] | ||
* Description:The unit of measure for the result. | * 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> | <div newline></div> | ||
Line 111: | Line 138: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 123: | Line 150: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 133: | Line 160: | ||
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} G2Y=(Double,t2s=,t2s=) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} ConvertScreenMeasureUnits(Double,ScreenUnit,ScreenUnit) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 144: | Line 171: | ||
== Parameters == | == Parameters == | ||
- | * //HGY=// | + | * //amount// |
* Type:Double | * Type:Double | ||
* Description:N/A | * Description:N/A | ||
- | * //HWY=// | + | * //fromUnit// |
- | * Type:t2s= | + | * Type:[[ThinkGeo.MapSuite.Core.ScreenUnit|ScreenUnit]] |
* Description:N/A | * Description:N/A | ||
- | * //HmY=// | + | * //toUnit// |
- | * Type:t2s= | + | * Type:[[ThinkGeo.MapSuite.Core.ScreenUnit|ScreenUnit]] |
* Description:N/A | * Description:N/A | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} h2A=(GeographyUnit) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} ConvertGeographyUnitToDistanceUnit(GeographyUnit) ** |
- | N/A | + | * //This method returns a DistanceUnit that has been converted from a GeographyUnit.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //None// |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] | ||
- | * Description:N/A | + | * Description:This method returns a DistanceUnit that has been converted from a GeographyUnit. |
== Parameters == | == Parameters == | ||
- | * //H2Y=// | + | * //unit// |
* Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | + | * Description:The GeographyUnit you want to convert. |
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} IGY=(Single) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} DegreesToRadians(Single) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 184: | Line 211: | ||
== Parameters == | == Parameters == | ||
- | * //IWY=// | + | * //degrees// |
* Type:Single | * 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 | * Description:N/A | ||