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 07:42] 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 110: | Line 113: | ||
| ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertAngleUnits(Double,AngleUnit,AngleUnit) ** | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertAngleUnits(Double,AngleUnit,AngleUnit) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 135: | 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 147: | 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 157: | Line 160: | ||
| == Parameters == | == Parameters == | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} I0M=(Double,ScreenUnit,ScreenUnit) ** | + | ** {{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 181: | Line 184: | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} Ujc=(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 == | ||
| * //unit// | * //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|}} JEM=(Single) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} DegreesToRadians(Single) ** |
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 213: | Line 216: | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GBQ=(PointShape,PointShape) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetBearing(PointShape,PointShape) ** |
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 233: | Line 236: | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GRQ=(Double) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} GetRegulateAngle(Double) ** |
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||