This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.rotationprojection [2015/09/18 05:50] admin |
thinkgeo.mapsuite.core.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 219: | Line 222: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(IEnumerable<Vertex>) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(IEnumerable<Vertex>) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 235: | Line 238: | ||
** {{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 258: | ||
** {{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 274: | ||
** {{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 287: | Line 290: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(IEnumerable<Vertex>) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(IEnumerable<Vertex>) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 303: | Line 306: | ||
** {{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 322: | ||
** {{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 334: | ||
** {{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 346: | ||
** {{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 358: | ||
** {{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 374: | ||
** {{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 386: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 392: | Line 395: | ||
== Parameters == | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} RotateImage(GeoImage,Single) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //geoImage// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //angle// | ||
+ | * Type:Single | ||
+ | * Description:N/A | ||
+ | |||
<div newline></div> | <div newline></div> | ||
==== Protected Methods ==== | ==== Protected Methods ==== | ||
** {{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 439: | ||
** {{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 433: | Line 456: | ||
* Description:This parameter is the Y values of the points that will be de-projected. | * Description:This parameter is the Y values of the points that will be de-projected. | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
** {{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 479: | ||
** {{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 501: | Line 500: | ||
* Description:N/A | * Description:N/A | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
** {{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 539: | ||
** {{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 549: | ||
== 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 565: | ||
<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 583: | ||
** {{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 595: | ||
** {{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 607: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 636: | Line 659: | ||
==== Protected Properties ==== | ==== Protected Properties ==== | ||
+ | ** {{wiki:ProtectedProperty.gif|}} PreviousRotationShape ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.PolygonShape|PolygonShape]] | ||
+ | |||
+ | ** {{wiki:ProtectedProperty.gif|}} PreviousRotateAngle ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | |||
** {{wiki:ProtectedProperty.gif|}} CanReproject ** | ** {{wiki:ProtectedProperty.gif|}} CanReproject ** | ||