This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
thinkgeo.mapsuite.portablecore.rotationprojection [2015/09/23 01:40] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.RotationProjection ====== | ||
- | This projection allows you to rotate the map image base don an angle. | ||
- | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | ||
- | *ThinkGeo.MapSuite.Core.Projection | ||
- | ***ThinkGeo.MapSuite.Core.RotationProjection** | ||
- | ===== Members Summary ===== | ||
- | ==== Public Constructors ==== | ||
- | ** {{wiki:PublicMethod.gif|}} RotationProjection() ** | ||
- | |||
- | * //This is a constructor for the class.// | ||
- | == Remarks == | ||
- | * //This is the default constructor and will set the angle to 0 whick is north being up.// | ||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RotationProjection(Double) ** | ||
- | |||
- | * //This is a constructor for the class.// | ||
- | == Remarks == | ||
- | * //This constructor allows you to pass in an angle to change the rotation of the map.// | ||
- | == Parameters == | ||
- | * //angle// | ||
- | * Type:Double | ||
- | * Description:This parameter is the angle you want to map to rotate to. | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RotationProjection(GeographyUnit) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Parameters == | ||
- | * //sourceUnit// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RotationProjection(Double,GeographyUnit) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Parameters == | ||
- | * //angle// | ||
- | * Type:Double | ||
- | * Description:N/A | ||
- | |||
- | * //sourceUnit// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ==== Protected Constructors ==== | ||
- | ==== Public Methods ==== | ||
- | ** {{wiki:PublicMethod.gif|}} GetUpdatedExtent(RectangleShape) ** | ||
- | |||
- | * //This method returns an adjusted extend based on the angle of rotation.// | ||
- | == 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.// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:This method returns an adjusted extend based on the angle of rotation. | ||
- | |||
- | == Parameters == | ||
- | * //worldExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:This parameter is the world extent before the rotation. | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Open() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //image// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
- | * Description:N/A | ||
- | |||
- | * //imageExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //image// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
- | * Description:N/A | ||
- | |||
- | * //imageExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | * //targetExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Close() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Vertex|Vertex]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //x// | ||
- | * Type:Double | ||
- | * Description:N/A | ||
- | |||
- | * //y// | ||
- | * Type:Double | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //baseShape// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //feature// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //rectangleShape// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Vertex|Vertex]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //x// | ||
- | * Type:Double | ||
- | * Description:N/A | ||
- | |||
- | * //y// | ||
- | * Type:Double | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //baseShape// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //feature// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //rectangleShape// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{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> | ||
- | ==== Protected Methods ==== | ||
- | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** | ||
- | |||
- | * //This method returns a projected vertices based on the coordinates passed in.// | ||
- | == 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.// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | ||
- | * Description:This method returns a projected vertices based on the coordinates passed in. | ||
- | |||
- | == Parameters == | ||
- | * //x// | ||
- | * Type:Double[] | ||
- | * Description:This parameter is the X values of the points that will be projected. | ||
- | |||
- | * //y// | ||
- | * Type:Double[] | ||
- | * Description:This parameter is the Y values of the points that will be projected. | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ||
- | |||
- | * //This method returns a de-projected vertices based on the coordinates passed in.// | ||
- | == 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.// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]]] | ||
- | * Description:This method returns a de-projected vertices based on the coordinates passed in. | ||
- | |||
- | == Parameters == | ||
- | * //x// | ||
- | * Type:Double[] | ||
- | * Description:This parameter is the X values of the points that will be de-projected. | ||
- | |||
- | * //y// | ||
- | * Type:Double[] | ||
- | * 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> | ||
- | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //image// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
- | * Description:N/A | ||
- | |||
- | * //imageExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //image// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] | ||
- | * Description:N/A | ||
- | |||
- | * //imageExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | * //targetExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} UpdateToExternalProjection(Feature) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //feature// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} UpdateToInternalProjection(Feature) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //feature// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{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> | ||
- | ==== Public Properties ==== | ||
- | ** {{wiki:PublicProperty.gif|}} Angle ** | ||
- | |||
- | * //This property sets the angle of rotation.// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:Double | ||
- | |||
- | ** {{wiki:PublicProperty.gif|}} SourceUnit ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
- | |||
- | ** {{wiki:PublicProperty.gif|}} PivotCenter ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
- | |||
- | ** {{wiki:PublicProperty.gif|}} IsOpen ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:Boolean | ||
- | |||
- | ** {{wiki:PublicProperty.gif|}} CanConvertRasterToExternalProjection ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:Boolean | ||
- | |||
- | ==== Protected Properties ==== | ||
- | ** {{wiki:ProtectedProperty.gif|}} CanReproject ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:Boolean | ||
- | |||
- | ==== 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.