This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.portablecore.rotationprojection [2015/09/21 08:17] admin |
thinkgeo.mapsuite.portablecore.rotationprojection [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.RotationProjection ====== | ====== ThinkGeo.MapSuite.Core.RotationProjection ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This projection allows you to rotate the map image base don an angle. | This projection allows you to rotate the map image base don an angle. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 9: | Line 12: | ||
** {{wiki:PublicMethod.gif|}} RotationProjection() ** | ** {{wiki:PublicMethod.gif|}} RotationProjection() ** | ||
- | This is a constructor for the class. | + | * //This is a constructor for the class.// |
== Remarks == | == Remarks == | ||
- | This is the default constructor and will set the angle to 0 whick is north being up. | + | * //This is the default constructor and will set the angle to 0 whick is north being up.// |
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
** {{wiki:PublicMethod.gif|}} RotationProjection(Double) ** | ** {{wiki:PublicMethod.gif|}} RotationProjection(Double) ** | ||
- | This is a constructor for the class. | + | * //This is a constructor for the class.// |
== Remarks == | == Remarks == | ||
- | This constructor allows you to pass in an angle to change the rotation of the map. | + | * //This constructor allows you to pass in an angle to change the rotation of the map.// |
== Parameters == | == Parameters == | ||
* //angle// | * //angle// | ||
Line 27: | Line 30: | ||
** {{wiki:PublicMethod.gif|}} RotationProjection(GeographyUnit) ** | ** {{wiki:PublicMethod.gif|}} RotationProjection(GeographyUnit) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Parameters == | == Parameters == | ||
* //sourceUnit// | * //sourceUnit// | ||
Line 38: | Line 41: | ||
** {{wiki:PublicMethod.gif|}} RotationProjection(Double,GeographyUnit) ** | ** {{wiki:PublicMethod.gif|}} RotationProjection(Double,GeographyUnit) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Parameters == | == Parameters == | ||
* //angle// | * //angle// | ||
Line 55: | Line 58: | ||
** {{wiki:PublicMethod.gif|}} GetUpdatedExtent(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} GetUpdatedExtent(RectangleShape) ** | ||
- | This method returns an adjusted extend based on the angle of rotation. | + | * //This method returns an adjusted extend based on the angle of rotation.// |
== Remarks == | == Remarks == | ||
- | This method returns an adjusted extend based on the angle of rotation. It is important that you update your current extent every time you adjust the angle of the projection. This will ensure the rotaion is performed properly. | + | * //This method returns an adjusted extend based on the angle of rotation. It is important that you update your current extent every time you adjust the angle of the projection. This will ensure the rotaion is performed properly.// |
== Return Value == | == Return Value == | ||
Line 71: | Line 74: | ||
** {{wiki:PublicMethod.gif|}} CloneDeep() ** | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 83: | Line 86: | ||
** {{wiki:PublicMethod.gif|}} Open() ** | ** {{wiki:PublicMethod.gif|}} Open() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 95: | Line 98: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 115: | Line 118: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 139: | Line 142: | ||
** {{wiki:PublicMethod.gif|}} Close() ** | ** {{wiki:PublicMethod.gif|}} Close() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 151: | Line 154: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 171: | Line 174: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 187: | Line 190: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 203: | Line 206: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 214: | Line 217: | ||
* //rectangleShape// | * //rectangleShape// | ||
* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(IEnumerable<Vertex>) ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //vertices// | ||
- | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> | ||
* Description:N/A | * Description:N/A | ||
Line 235: | Line 222: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 255: | Line 242: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 271: | Line 258: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 282: | Line 269: | ||
* //feature// | * //feature// | ||
* Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(IEnumerable<Vertex>) ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //vertices// | ||
- | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Vertex|Vertex]]> | ||
* Description:N/A | * Description:N/A | ||
Line 303: | Line 274: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 319: | Line 290: | ||
** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** | ** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 331: | Line 302: | ||
** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** | ** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 343: | Line 314: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 355: | Line 326: | ||
** {{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 371: | Line 342: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 383: | Line 354: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 396: | Line 367: | ||
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** | ||
- | This method returns a projected vertices based on the coordinates passed in. | + | * //This method returns a projected vertices based on the coordinates passed in.// |
== Remarks == | == Remarks == | ||
- | This method returns a projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections. | + | * //This method returns a projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections.// |
== Return Value == | == Return Value == | ||
Line 416: | Line 387: | ||
** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ||
- | This method returns a de-projected vertices based on the coordinates passed in. | + | * //This method returns a de-projected vertices based on the coordinates passed in.// |
== Remarks == | == Remarks == | ||
- | This method returns a de-projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections. The de-projection is important because inside of the FeatureSource you will in many cases to to and from various projections. | + | * //This method returns a de-projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically you can call the projection utility library that has interfaces for dozens of different types of projections. The de-projection is important because inside of the FeatureSource you will in many cases to to and from various projections.// |
== Return Value == | == Return Value == | ||
Line 436: | Line 407: | ||
** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 448: | Line 419: | ||
** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 460: | Line 431: | ||
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape) ** | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 480: | Line 451: | ||
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) ** | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 504: | Line 475: | ||
** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 516: | Line 487: | ||
** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 526: | Line 497: | ||
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} SzE=(Feature) ** | + | ** {{wiki:ProtectedMethod.gif|}} UpdateToExternalProjection(Feature) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 542: | Line 513: | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} TDE=(Feature) ** | + | ** {{wiki:ProtectedMethod.gif|}} UpdateToInternalProjection(Feature) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 560: | Line 531: | ||
** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 572: | Line 543: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 584: | Line 555: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 597: | Line 568: | ||
** {{wiki:PublicProperty.gif|}} Angle ** | ** {{wiki:PublicProperty.gif|}} Angle ** | ||
- | This property sets the angle of rotation. | + | * //This property sets the angle of rotation.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Double | * Type:Double | ||
Line 605: | Line 576: | ||
** {{wiki:PublicProperty.gif|}} SourceUnit ** | ** {{wiki:PublicProperty.gif|}} SourceUnit ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
Line 613: | Line 584: | ||
** {{wiki:PublicProperty.gif|}} PivotCenter ** | ** {{wiki:PublicProperty.gif|}} PivotCenter ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
Line 621: | Line 592: | ||
** {{wiki:PublicProperty.gif|}} IsOpen ** | ** {{wiki:PublicProperty.gif|}} IsOpen ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 629: | Line 600: | ||
** {{wiki:PublicProperty.gif|}} CanConvertRasterToExternalProjection ** | ** {{wiki:PublicProperty.gif|}} CanConvertRasterToExternalProjection ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 638: | Line 609: | ||
** {{wiki:ProtectedProperty.gif|}} CanReproject ** | ** {{wiki:ProtectedProperty.gif|}} CanReproject ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean |