====== ThinkGeo.MapSuite.Core.RotationProjection ====== {{section>upgrade_map_suite_to_10.0}} 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 ==== ** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} 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.
** {{wiki:PublicMethod.gif|}} RotationProjection(GeographyUnit) ** * //N/A// == Remarks == * //N/A// == Parameters == * //sourceUnit// * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:N/A
** {{wiki:PublicMethod.gif|}} 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
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} 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 == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:This method returns an adjusted extend based on the angle of rotation. == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:This parameter is the world extent before the rotation.
** {{wiki:PublicMethod.gif|}} CloneDeep() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Open() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //targetExtent// * Type:[[ThinkGeo.MapSuite.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.MapSuite.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.MapSuite.Core.BaseShape|BaseShape]] * Description:N/A == Parameters == * //baseShape// * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] * Description:N/A == Parameters == * //feature// * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters == * //rectangleShape// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.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.MapSuite.Core.BaseShape|BaseShape]] * Description:N/A == Parameters == * //baseShape// * Type:[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] * Description:N/A == Parameters == * //feature// * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters == * //rectangleShape// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * 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 ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.Core.Vertex[]|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.
** {{wiki:ProtectedMethod.gif|}} 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:[[ThinkGeo.MapSuite.Core.Vertex[]|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.
** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RasterProjectionResult|RasterProjectionResult]] * Description:N/A == Parameters == * //image// * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] * Description:N/A * //imageExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //targetExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OpenCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{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.MapSuite.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.MapSuite.Core.Feature|Feature]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Angle ** * //This property sets the angle of rotation.// == Remarks == * //N/A// == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} SourceUnit ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] ** {{wiki:PublicProperty.gif|}} PivotCenter ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] ** {{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|}} CanReproject ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ==== Public Events ====