User Tools

Site Tools


12.0:apis:thinkgeo.core.rotationprojectionconverter

ThinkGeo.Core.RotationProjectionConverter

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Core.ProjectionConverter
      • ThinkGeo.Core.RotationProjectionConverter

Members Summary

Public Constructors

RotationProjectionConverter()

  • 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

RotationProjectionConverter(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.

RotationProjectionConverter(GeographyUnit)

  • N/A
Remarks
  • N/A
Parameters

RotationProjectionConverter(Double,GeographyUnit)

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

Protected Constructors

Public Methods

GetUpdatedExtent(RectangleShape)

  • N/A
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.

Open()

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

ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape,Int32,Int32)

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

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(IEnumerable<Feature>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Feature>
  • Description:N/A
Parameters
  • features
    • Type:IEnumerable<Feature>
    • Description:N/A

ConvertToExternalProjection(RectangleShape)

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

ConvertToExternalProjection(IEnumerable<Vertex>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Vertex>
  • Description:N/A
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
  • Type:Collection<Vertex>
  • Description:N/A
Parameters
  • vertices
    • Type:IEnumerable<Vertex>
    • Description:N/A

ConvertToInternalProjection(RectangleShape)

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

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
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

Protected Methods

OpenCore()

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

ConvertToExternalProjectionCore(IEnumerable<Vertex>)

  • N/A
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:Collection<Vertex>
  • Description:This method returns a projected vertices based on the coordinates passed in.
Parameters
  • verticies
    • Type:IEnumerable<Vertex>
    • Description:N/A

ConvertToInternalProjectionCore(IEnumerable<Vertex>)

  • N/A
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:Collection<Vertex>
  • Description:This method returns a de-projected vertices based on the coordinates passed in.
Parameters
  • verticies
    • Type:IEnumerable<Vertex>
    • Description:N/A

ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape,Int32,Int32)

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

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

MemberwiseClone()

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

Finalize()

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

Public Properties

Angle

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

SourceUnit

  • N/A
Remarks
  • N/A
Return Value

PivotCenter

  • N/A
Remarks
  • N/A
Return Value

DecimalDegreeBoundary

  • N/A
Remarks
  • N/A
Return Value

InternalProjection

  • N/A
Remarks
  • N/A
Return Value

ExternalProjection

  • 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

Public Events

12.0/apis/thinkgeo.core.rotationprojectionconverter.txt · Last modified: 2019/09/26 09:35 (external edit)