User Tools

Site Tools


thinkgeo.mapsuite.core.rotationprojection

ThinkGeo.MapSuite.Core.RotationProjection

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

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

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

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.

RotationProjection(GeographyUnit)

  • N/A
Remarks
  • N/A
Parameters

RotationProjection(Double,GeographyUnit)

  • N/A
Remarks
  • N/A
Parameters
  • angle
    • Type:Double
    • Description:N/A

Protected Constructors

Public Methods

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
  • Description:This method returns an adjusted extend based on the angle of rotation.
Parameters
  • worldExtent
    • Description:This parameter is the world extent before the rotation.

CloneDeep()

  • N/A
Remarks
  • N/A
Return Value
Parameters

Open()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

ConvertToExternalProjection(GeoImage,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

Close()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

ConvertToExternalProjection(Double,Double)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • x
    • Type:Double
    • Description:N/A
  • y
    • Type:Double
    • Description:N/A

ConvertToExternalProjection(BaseShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

ConvertToExternalProjection(Feature)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • feature

ConvertToExternalProjection(RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

ConvertToExternalProjection(IEnumerable<Vertex>)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • vertices
    • Type:IEnumerable<Vertex>
    • Description:N/A

ConvertToInternalProjection(Double,Double)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • x
    • Type:Double
    • Description:N/A
  • y
    • Type:Double
    • Description:N/A

ConvertToInternalProjection(BaseShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

ConvertToInternalProjection(Feature)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • feature

ConvertToInternalProjection(IEnumerable<Vertex>)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • vertices
    • Type:IEnumerable<Vertex>
    • Description:N/A

ConvertToInternalProjection(RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetInternalGeographyUnit()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetExternalGeographyUnit()

  • N/A
Remarks
  • N/A
Return Value
Parameters

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

RotateImage(GeoImage,Single)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • geoImage
  • angle
    • Type:Single
    • Description:N/A

Protected Methods

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: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.

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: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.

ConvertToExternalProjectionCore(GeoImage,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetInternalGeographyUnitCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

CloneDeepCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

OpenCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

UpdateToExternalProjection(Feature)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature

UpdateToInternalProjection(Feature)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature

GetExternalGeographyUnitCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Angle

This property sets the angle of rotation.

Remarks

N/A

Return Value
  • Type:Double

SourceUnit

N/A

Remarks

N/A

Return Value

PivotCenter

N/A

Remarks

N/A

Return Value

IsOpen

N/A

Remarks

N/A

Return Value
  • Type:Boolean

CanConvertRasterToExternalProjection

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Protected Properties

PreviousRotationShape

N/A

Remarks

N/A

Return Value

PreviousRotateAngle

N/A

Remarks

N/A

Return Value
  • Type:Double

CanReproject

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Public Events

thinkgeo.mapsuite.core.rotationprojection.txt · Last modified: 2017/03/16 21:59 (external edit)