ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
This projection allows you to rotate the map image base don an angle.
ConvertToExternalProjectionCore]]**
* **Parameters**:Double[],Double[]
* **DeclaringType**:N/A
* **Summary**:This method returns a projected vertices based on the coordinates passed in.
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#ConvertToExternalProjectionCore(GeoImage,RectangleShape)|ConvertToExternalProjectionCore]]**
* **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]
* **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape)|ConvertToExternalProjectionCore]]**
* **Parameters**:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]
* **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#ConvertToInternalProjectionCore(Double[],Double[])|ConvertToInternalProjectionCore]]**
* **Parameters**:Double[],Double[]
* **DeclaringType**:N/A
* **Summary**:This method returns a de-projected vertices based on the coordinates passed in.
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]**
* **Parameters**:N/A
* **DeclaringType**:Object
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#GetExternalGeographyUnitCore()|GetExternalGeographyUnitCore]]**
* **Parameters**:N/A
* **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#GetInternalGeographyUnitCore()|GetInternalGeographyUnitCore]]**
* **Parameters**:N/A
* **DeclaringType**:N/A
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]**
* **Parameters**:N/A
* **DeclaringType**:Object
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#OpenCore()|OpenCore]]**
* **Parameters**:N/A
* **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#SzE=(Feature)|SzE=]]**
* **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]]
* **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Summary**:N/A
</div>
<div class_table>
**{{wiki:ProtectedMethod.gif|}}[[#TDE=(Feature)|TDE=]]**
* **Parameters**:[[ThinkGeo.MapSuite.Core.Feature|Feature]]
* **DeclaringType**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Summary**:N/A
</div>
=== Public Properties ===
**{{wiki:PublicProperty.gif|}}[[#Angle|Angle]]**
* **Return**:Double
* **Summary**:This property sets the angle of rotation.
**{{wiki:PublicProperty.gif|}}[[#CanConvertRasterToExternalProjection|CanConvertRasterToExternalProjection]]**
* **Return**:Boolean
* **Summary**:N/A
**{{wiki:PublicProperty.gif|}}[[#IsOpen|IsOpen]]**
* **Return**:Boolean
* **Summary**:N/A
**{{wiki:PublicProperty.gif|}}[[#PivotCenter|PivotCenter]]**
* **Return**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]]
* **Summary**:N/A
**{{wiki:PublicProperty.gif|}}[[#SourceUnit|SourceUnit]]**
* **Return**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]
* **Summary**:N/A
=== Protected Properties ===
**{{wiki:ProtectedProperty.gif|}}[[#CanReproject|CanReproject]]**
* **Return**:Boolean
* **Summary**:N/A
=== Public Events ===
===== Public Constructors =====
=== 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 ====
[[#Public Constructors|Go Back]]
=== 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.
[[#Public Constructors|Go Back]]
=== RotationProjection(GeographyUnit) ===
N/A
==== Remarks ====
N/A
==== Parameters ====
**sourceUnit**
* **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]
* **Description:N/A
[[#Public Constructors|Go Back]]
=== 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
[[#Public Constructors|Go Back]]
===== Protected Constructors =====
===== Public Methods =====
=== CloneDeep() ===
N/A
==== Remarks ====
N/A
**Return Value**
* **Return Type**:[[ThinkGeo.MapSuite.Core.Projection|Projection]]
* **Description**:N/A
==== Parameters ====
[[#Public Methods|Go Back]]
=== Close() ===
N/A
==== Remarks ====
N/A
**Return Value**
* **Return Type**:Void
* **Description**:N/A
==== Parameters ====
[[#Public Methods|Go Back]]
=== ConvertToExternalProjection(IEnumerable<Vertex>) ===
N/A
==== Remarks ====
N/A
**Return Value**
* **Return Type**:[[ThinkGeo.MapSuite.Core.Vertex[]|Vertex[]
* Description:N/A
==== Parameters ====
vertices
* Type:IEnumerable<Vertex>
* Description:N/A
Go Back
=== ConvertToExternalProjection(RectangleShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:RectangleShape
* Description:N/A
==== Parameters ====
rectangleShape
* Type:RectangleShape
* Description:N/A
Go Back
=== ConvertToExternalProjection(BaseShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:BaseShape
* Description:N/A
==== Parameters ====
baseShape
* Type:BaseShape
* Description:N/A
Go Back
=== ConvertToExternalProjection(Double,Double) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Vertex
* Description:N/A
==== Parameters ====
x
* Type:Double
* Description:N/A
y
* Type:Double
* Description:N/A
Go Back
=== ConvertToExternalProjection(Feature) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Feature
* Description:N/A
==== Parameters ====
feature
* Type:Feature
* Description:N/A
Go Back
=== ConvertToExternalProjection(GeoImage,RectangleShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:RasterProjectionResult
* Description:N/A
==== Parameters ====
image
* Type:GeoImage
* Description:N/A
imageExtent
* Type:RectangleShape
* Description:N/A
Go Back
=== ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:RasterProjectionResult
* Description:N/A
==== Parameters ====
image
* Type:GeoImage
* Description:N/A
imageExtent
* Type:RectangleShape
* Description:N/A
targetExtent
* Type:RectangleShape
* Description:N/A
Go Back
=== ConvertToInternalProjection(Double,Double) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Vertex
* Description:N/A
==== Parameters ====
x
* Type:Double
* Description:N/A
y
* Type:Double
* Description:N/A
Go Back
=== ConvertToInternalProjection(BaseShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:BaseShape
* Description:N/A
==== Parameters ====
baseShape
* Type:BaseShape
* Description:N/A
Go Back
=== ConvertToInternalProjection(Feature) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Feature
* Description:N/A
==== Parameters ====
feature
* Type:Feature
* Description:N/A
Go Back
=== ConvertToInternalProjection(IEnumerable<Vertex>) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Vertex[]
* Description:N/A
==== Parameters ====
vertices
* Type:IEnumerable<Vertex>
* Description:N/A
Go Back
=== ConvertToInternalProjection(RectangleShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:RectangleShape
* Description:N/A
==== Parameters ====
rectangleShape
* Type:RectangleShape
* Description:N/A
Go Back
=== Equals(Object) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Boolean
* Description:N/A
==== Parameters ====
obj
* Type:Object
* Description:N/A
Go Back
=== GetExternalGeographyUnit() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:GeographyUnit
* Description:N/A
==== Parameters ====
Go Back
=== GetHashCode() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Int32
* Description:N/A
==== Parameters ====
Go Back
=== GetInternalGeographyUnit() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:GeographyUnit
* Description:N/A
==== Parameters ====
Go Back
=== GetType() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Type
* Description:N/A
==== Parameters ====
Go Back
=== 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
* Return Type:RectangleShape
* Description:This method returns an adjusted extend based on the angle of rotation.
==== Parameters ====
worldExtent
* Type:RectangleShape
* Description:This parameter is the world extent before the rotation.
Go Back
=== Open() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Void
* Description:N/A
==== Parameters ====
Go Back
=== ToString() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:String
* Description:N/A
==== Parameters ====
Go Back
===== Protected Methods =====
=== CloneDeepCore() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Projection
* Description:N/A
==== Parameters ====
Go Back
=== CloseCore() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Void
* Description:N/A
==== Parameters ====
Go Back
=== 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
* Return Type: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.
Go Back
=== ConvertToExternalProjectionCore(GeoImage,RectangleShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:RasterProjectionResult
* Description:N/A
==== Parameters ====
image
* Type:GeoImage
* Description:N/A
imageExtent
* Type:RectangleShape
* Description:N/A
Go Back
=== ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:RasterProjectionResult
* Description:N/A
==== Parameters ====
image
* Type:GeoImage
* Description:N/A
imageExtent
* Type:RectangleShape
* Description:N/A
targetExtent
* Type:RectangleShape
* Description:N/A
Go Back
=== 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
* Return Type: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.
Go Back
=== Finalize() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Void
* Description:N/A
==== Parameters ====
Go Back
=== GetExternalGeographyUnitCore() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:GeographyUnit
* Description:N/A
==== Parameters ====
Go Back
=== GetInternalGeographyUnitCore() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:GeographyUnit
* Description:N/A
==== Parameters ====
Go Back
=== MemberwiseClone() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Object
* Description:N/A
==== Parameters ====
Go Back
=== OpenCore() ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Void
* Description:N/A
==== Parameters ====
Go Back
=== SzE=(Feature) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Void
* Description:N/A
==== Parameters ====
feature
* Type:Feature
* Description:N/A
Go Back
=== TDE=(Feature) ===
N/A
==== Remarks ====
N/A
Return Value
* Return Type:Void
* Description:N/A
==== Parameters ====
feature
* Type:Feature
* Description:N/A
Go Back
===== Public Properties =====
=== Angle ===
This property sets the angle of rotation.
==== Remarks ====
N/A
==== Return Value ====
Return Type:Double
Go Back
=== CanConvertRasterToExternalProjection ===
N/A
==== Remarks ====
N/A
==== Return Value ====
Return Type:Boolean
Go Back
=== IsOpen ===
N/A
==== Remarks ====
N/A
==== Return Value ====
Return Type:Boolean
Go Back
=== PivotCenter ===
N/A
==== Remarks ====
N/A
==== Return Value ====
Return Type:PointShape
Go Back
=== SourceUnit ===
N/A
==== Remarks ====
N/A
==== Return Value ====
Return Type:GeographyUnit
Go Back
===== Protected Properties =====
=== CanReproject ===
N/A
==== Remarks ====
N/A
==== Return Value ====
Return Type**:Boolean