ThinkGeo.MapSuite.Shapes.Projection
Inheritance Hierarchy
Members Summary
Public Constructors
Protected Constructors
Projection()
Parameters
Public Methods
CloneDeep()
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Value
Parameters
Open()
This method opens the projection and gets it ready to use. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Type:Void
Description:None
Parameters
ConvertToExternalProjection(GeoImage,RectangleShape)
Return Value
Parameters
ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape)
Return Value
Parameters
Close()
This method closes the projection and gets it ready for serialization if necessary. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Type:Void
Description:None
Parameters
ConvertToExternalProjection(Double,Double)
This method returns a projected vertex based on the coordinates passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToExternalProjection(BaseShape)
This method returns a projected baseShape based on the BaseShape passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToExternalProjection(Feature)
This method returns a projected Feature based on the Feature passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToExternalProjection(RectangleShape)
Return Value
Parameters
ConvertToExternalProjection(IEnumerable<Vertex>)
Return Value
Parameters
ConvertToInternalProjection(Double,Double)
This method returns a de-projected vertex based on the coordinates passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToInternalProjection(BaseShape)
This method returns a de-projected BaseShape based on the BaseShape passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToInternalProjection(Feature)
This method returns a de-projected Feature based on the Feature passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToInternalProjection(IEnumerable<Vertex>)
This method returns a de-projected vertex based on the coordinates passed in. The de-projection is important because, inside of the FeatureSource, you will in many cases go to and from various projections.
Return Value
Parameters
ConvertToInternalProjection(RectangleShape)
Return Value
Parameters
GetInternalGeographyUnit()
Return Value
Parameters
GetExternalGeographyUnit()
Return Value
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
CloneDeepCore()
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Value
Parameters
ConvertToExternalProjectionCore(GeoImage,RectangleShape)
Return Value
Parameters
ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape)
Return Value
Parameters
OpenCore()
As this is the core version of the Open method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible for getting the projection classes' state ready for doing projections.
Return Value
Type:Void
Description:None
Parameters
CloseCore()
As this is the core version of the Close method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible freeing any state you have maintained and getting the class ready for serialization if necessary. Note that the object may be opened again, so you want to make sure you can open and close the object multiple times without any ill effects.
Return Value
Type:Void
Description:None
Parameters
UpdateToExternalProjection(Feature)
Return Value
Type:Void
Description:N/A
Parameters
ConvertToExternalProjectionCore(Double[],Double[])
Return Value
Parameters
xArray
Type:Double[]
Description:N/A
yArray
Type:Double[]
Description:N/A
ConvertToInternalProjectionCore(Double[],Double[])
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 go to and from various projections.
Return Value
Parameters
xArray
Type:Double[]
Description:N/A
yArray
Type:Double[]
Description:N/A
UpdateToInternalProjection(Feature)
Return Value
Type:Void
Description:N/A
Parameters
GetInternalGeographyUnitCore()
Return Value
Parameters
GetExternalGeographyUnitCore()
Return Value
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
IsOpen
This method will reflect whether the projection is opened or closed. It is set in the concrete methods Open and Close, so if you inherit from this class and override OpenCore or CloseCore, you will not need to be concerned with setting this property.
Return Value
CanConvertRasterToExternalProjection
Return Value
Protected Properties
CanReproject
Return Value
Public Events