Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This projection allows you to rotate the map image base don an angle.
This can be usefully when you are working with directional maps such as driving maps where you want the upper center of the map to be in line with the direction of the vehicle heading.
*System.Object ThinkGeo.MapSuite.PortableCore.Projection *ThinkGeo.MapSuite.PortableCore.RotationProjection
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This is a constructor for the class. | ||
![]() | Double | This is a constructor for the class. | |
![]() | GeographyUnit | ||
![]() | Double, GeographyUnit |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Projection | Create a copy of Projection using the deep clone process. | |
![]() | Projection | This method closes the projection and gets it ready for serialization if necessary. | |
![]() | RectangleShape | Projection | This method returns a projected rectangle based on the rectangle passed in. |
![]() | Feature | Projection | This method returns a projected Feature based on the Feature passed in. |
![]() | Double, Double | Projection | This method returns a projected vertex based on the coordinates passed in. |
![]() | GeoImage, RectangleShape, RectangleShape | Projection | |
![]() | BaseShape | Projection | This method returns a projected BaseShape based on the baseShape passed in. |
![]() | GeoImage, RectangleShape | Projection | |
![]() | Double, Double | Projection | This method returns a de-projected vertex based on the coordinates passed in. |
![]() | BaseShape | Projection | This method returns a de-projected BaseShape based on the BaseShape passed in. |
![]() | Feature | Projection | This method returns a de-projected Feature based on the Feature passed in. |
![]() | RectangleShape | Projection | This method returns a de-projected rectangle based on the rectangle passed in. |
![]() | Object | Object | |
![]() | Projection | ||
![]() | Object | ||
![]() | Projection | ||
![]() | Object | ||
![]() | RectangleShape | This method returns an adjusted extend based on the angle of rotation. | |
![]() | Projection | This method opens the projection and gets it ready to use. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Projection | Create a copy of GeoCanvas using the deep clone process. The default implementation uses serialization. | |
![]() | Projection | This method closes the projection and gets it ready for serialization if necessary. | |
![]() | GeoImage, RectangleShape | Projection | |
![]() | Double[], Double[] | Projection(overriden) | This method returns a projected vertices based on the coordinates passed in. |
![]() | GeoImage, RectangleShape, RectangleShape | Projection | |
![]() | Double[], Double[] | Projection(overriden) | This method returns a de-projected vertices based on the coordinates passed in. |
![]() | Object | ||
![]() | Projection | ||
![]() | Projection(overriden) | ||
![]() | Object | ||
![]() | Projection | This method opens the projection and gets it ready to use. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Double | This property sets the angle of rotation. | |
![]() | Boolean | Projection | |
![]() | Boolean | Projection | This property gets the state of the projection (whether it is opened or closed). |
![]() | PointShape | ||
![]() | GeographyUnit |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Boolean | Projection | This property indicates whether this projection should be used. |
Name | Event Arguments | DeclaringType | Summary |
---|
This is a constructor for the class.
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.
Name | Type | Description |
---|
This is a constructor for the class.
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.
Name | Type | Description |
---|---|---|
angle | Double<!– System.Double –> | This parameter is the angle you want to map to rotate to. |
Name | Type | Description |
---|---|---|
sourceUnit | GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
Name | Type | Description |
---|---|---|
angle | Double<!– System.Double –> | |
sourceUnit | GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
Create a copy of Projection using the deep clone process.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
Projection<!– ThinkGeo.MapSuite.PortableCore.Projection –> | A cloned Projection. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method closes the projection and gets it ready for serialization if necessary.
This method closes the projection and gets it ready for serialization if necessary.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a projected rectangle based on the rectangle passed in.
This method returns a projected rectangle based on the rectangle passed in.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a projected rectangle based on the rectangle passed in. |
Name | Type | Description |
---|---|---|
rectangleShape | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This parameter represents the rectangle you want to project. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a projected Feature based on the Feature passed in.
This method returns a projected Feature based on the Feature passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> | This method returns a projected Feature for the passed-in Feature. |
Name | Type | Description |
---|---|---|
feature | Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> | This parameter is the Feature that contains a BaseShape in decimalDegreesValue to be projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a projected vertex based on the coordinates passed in.
This method returns a projected vertex based on the coordinates passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Vertex<!– ThinkGeo.MapSuite.PortableCore.Vertex –> | This method returns a projected vertex based on the coordinates passed in. |
Name | Type | Description |
---|---|---|
x | Double<!– System.Double –> | This parameter is the X decimalDegreesValue of the point that will be projected. |
y | Double<!– System.Double –> | This parameter is the Y decimalDegreesValue of the point that will be projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
RasterProjectionResult<!– ThinkGeo.MapSuite.PortableCore.RasterProjectionResult –> |
Name | Type | Description |
---|---|---|
image | GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | |
imageExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | |
targetExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a projected BaseShape based on the baseShape passed in.
This method returns a projected baseShape based on the BaseShape passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.PortableCore.BaseShape –> | This method returns a projected baseShape for the passed-in BaseShape. |
Name | Type | Description |
---|---|---|
baseShape | BaseShape<!– ThinkGeo.MapSuite.PortableCore.BaseShape –> | This parameter is the baseShape (in decimalDegreesValue) to be projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
RasterProjectionResult<!– ThinkGeo.MapSuite.PortableCore.RasterProjectionResult –> |
Name | Type | Description |
---|---|---|
image | GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | |
imageExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a de-projected vertex based on the coordinates passed in.
This method returns a de-projected vertex based on the coordinates passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Vertex<!– ThinkGeo.MapSuite.PortableCore.Vertex –> | This method returns a de-projected vertex based on the coordinates passed in. |
Name | Type | Description |
---|---|---|
x | Double<!– System.Double –> | This parameter is the X decimalDegreesValue of the point that will be de-projected. |
y | Double<!– System.Double –> | This parameter is the Y decimalDegreesValue of the point that will be de-projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a de-projected BaseShape based on the BaseShape passed in.
This method returns a de-projected BaseShape based on the BaseShape passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.PortableCore.BaseShape –> | This method returns a de-projected BaseShape for the passed in BaseShape. |
Name | Type | Description |
---|---|---|
baseShape | BaseShape<!– ThinkGeo.MapSuite.PortableCore.BaseShape –> | This parameter is the baseShape (in decimalDegreesValue) to be de-projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a de-projected Feature based on the Feature passed in.
This method returns a de-projected Feature based on the Feature passed in.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> | This method returns a de-projected Feature for the passed-in Feature. |
Name | Type | Description |
---|---|---|
feature | Feature<!– ThinkGeo.MapSuite.PortableCore.Feature –> | This parameter is the Feature that contains a BaseShape in decimalDegreesValue to be de-projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a de-projected rectangle based on the rectangle passed in.
This method returns a de-projected rectangle based on the rectangle passed in.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns a de-projected rectangle based on the rectangle passed in. |
Name | Type | Description |
---|---|---|
rectangleShape | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This parameter represents the rectangle you want to de-project. |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns an adjusted extend based on the angle of rotation.
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 Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns an adjusted extend based on the angle of rotation. |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This parameter is the world extent before the rotation. |
<!– ThinkGeo.MapSuite.PortableCore.RotationProjection –> Go Back
This method opens the projection and gets it ready to use.
This method opens the projection and gets it ready to use.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Create a copy of GeoCanvas using the deep clone process. The default implementation uses serialization.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
Projection<!– ThinkGeo.MapSuite.PortableCore.Projection –> | A cloned GeoCanvas. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method closes the projection and gets it ready for serialization if necessary.
As this is the core version of the Close method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible freeing any state you have maintained and getting the class ready for serialization if necessary. Note that the object may be opened again, so you want to make sure you can open and close the object multiple times without any ill effects.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
RasterProjectionResult<!– ThinkGeo.MapSuite.PortableCore.RasterProjectionResult –> |
Name | Type | Description |
---|---|---|
image | GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | |
imageExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a projected vertices based on the coordinates passed in.
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 Type | Description |
---|---|
Vertex[]<!– ThinkGeo.MapSuite.PortableCore.Vertexthinkgeo.mapsuite.portablecore.rotationprojection –> | This method returns a projected vertices based on the coordinates passed in. |
Name | Type | Description |
---|---|---|
x | Double[]<!– System.Doublethinkgeo.mapsuite.portablecore.rotationprojection –> | This parameter is the X values of the points that will be projected. |
y | Double[]<!– System.Doublethinkgeo.mapsuite.portablecore.rotationprojection –> | This parameter is the Y values of the points that will be projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection(overriden) –> Go Back
Return Type | Description |
---|---|
RasterProjectionResult<!– ThinkGeo.MapSuite.PortableCore.RasterProjectionResult –> |
Name | Type | Description |
---|---|---|
image | GeoImage<!– ThinkGeo.MapSuite.PortableCore.GeoImage –> | |
imageExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | |
targetExtent | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This method returns a de-projected vertices based on the coordinates passed in.
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 Type | Description |
---|---|
Vertex[]<!– ThinkGeo.MapSuite.PortableCore.Vertexthinkgeo.mapsuite.portablecore.rotationprojection –> | This method returns a de-projected vertices based on the coordinates passed in. |
Name | Type | Description |
---|---|---|
x | Double[]<!– System.Doublethinkgeo.mapsuite.portablecore.rotationprojection –> | This parameter is the X values of the points that will be de-projected. |
y | Double[]<!– System.Doublethinkgeo.mapsuite.portablecore.rotationprojection –> | This parameter is the Y values of the points that will be de-projected. |
<!– ThinkGeo.MapSuite.PortableCore.Projection(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type | Description |
---|---|
GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method opens the projection and gets it ready to use.
As this is the core version of the Open method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible for getting the projection classes' state ready for doing projections.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This property sets the angle of rotation.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.PortableCore.RotationProjection –> Go Back
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
This property gets the state of the projection (whether it is opened or closed).
This method will reflect whether the projection is opened or closed. It is set in the concrete methods Open and Close, so if you inherit from this class and override OpenCore or CloseCore, you will not need to be concerned with setting this property.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
Return Type |
---|
PointShape<!– ThinkGeo.MapSuite.PortableCore.PointShape –> |
<!– ThinkGeo.MapSuite.PortableCore.RotationProjection –> Go Back
Return Type |
---|
GeographyUnit<!– ThinkGeo.MapSuite.PortableCore.GeographyUnit –> |
<!– ThinkGeo.MapSuite.PortableCore.RotationProjection –> Go Back
This property indicates whether this projection should be used.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Projection –> Go Back
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.