====== ThinkGeo.Core.RotationProjectionConverter ====== ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.Core.ProjectionConverter ***ThinkGeo.Core.RotationProjectionConverter** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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.
** {{wiki:PublicMethod.gif|}} RotationProjectionConverter(GeographyUnit) ** * //N/A// == Remarks == * //N/A// == Parameters == * //sourceUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:N/A
** {{wiki:PublicMethod.gif|}} RotationProjectionConverter(Double,GeographyUnit) ** * //N/A// == Remarks == * //N/A// == Parameters == * //angle// * Type:Double * Description:N/A * //sourceUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:N/A
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} 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 == * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:This method returns an adjusted extend based on the angle of rotation. == Parameters == * //worldExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:This parameter is the world extent before the rotation.
** {{wiki:PublicMethod.gif|}} Open() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape,Int32,Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A * //targetExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A * //width// * Type:Int32 * Description:N/A * //height// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A * //targetExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} Close() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Vertex|Vertex]] * Description:N/A == Parameters == * //x// * Type:Double * Description:N/A * //y// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.BaseShape|BaseShape]] * Description:N/A == Parameters == * //baseShape// * Type:[[ThinkGeo.Core.BaseShape|BaseShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Feature|Feature]] * Description:N/A == Parameters == * //feature// * Type:[[ThinkGeo.Core.Feature|Feature]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.Core.Feature|Feature]]> * Description:N/A == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.Core.Feature|Feature]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters == * //rectangleShape// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:N/A == Parameters == * //vertices// * Type:IEnumerable<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Vertex|Vertex]] * Description:N/A == Parameters == * //x// * Type:Double * Description:N/A * //y// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.BaseShape|BaseShape]] * Description:N/A == Parameters == * //baseShape// * Type:[[ThinkGeo.Core.BaseShape|BaseShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Feature|Feature]] * Description:N/A == Parameters == * //feature// * Type:[[ThinkGeo.Core.Feature|Feature]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:N/A == Parameters == * //vertices// * Type:IEnumerable<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters == * //rectangleShape// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
===== Protected Methods ===== ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(IEnumerable) ** * //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<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:This method returns a projected vertices based on the coordinates passed in. == Parameters == * //verticies// * Type:IEnumerable<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:N/A
** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(IEnumerable) ** * //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<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:This method returns a de-projected vertices based on the coordinates passed in. == Parameters == * //verticies// * Type:IEnumerable<[[ThinkGeo.Core.Vertex|Vertex]]> * Description:N/A
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape,Int32,Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A * //targetExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A * //width// * Type:Int32 * Description:N/A * //height// * Type:Int32 * Description:N/A
** {{wiki:ProtectedMethod.gif|}} CloseCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} UpdateToExternalProjection(Feature) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //feature// * Type:[[ThinkGeo.Core.Feature|Feature]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} UpdateToInternalProjection(Feature) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //feature// * Type:[[ThinkGeo.Core.Feature|Feature]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Angle ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} SourceUnit ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] ** {{wiki:PublicProperty.gif|}} PivotCenter ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.PointShape|PointShape]] ** {{wiki:PublicProperty.gif|}} DecimalDegreeBoundary ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] ** {{wiki:PublicProperty.gif|}} InternalProjection ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Projection|Projection]] ** {{wiki:PublicProperty.gif|}} ExternalProjection ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.Projection|Projection]] ** {{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|}} PreviousRotationShape ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.PolygonShape|PolygonShape]] ** {{wiki:ProtectedProperty.gif|}} PreviousRotateAngle ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double ==== Public Events ====