This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.projection [2015/09/21 03:23] admin |
thinkgeo.mapsuite.silverlightcore.projection [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.Projection ====== | ====== ThinkGeo.MapSuite.SilverlightCore.Projection ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class represents a projection that you wish to apply to a FeatureSource. | This class represents a projection that you wish to apply to a FeatureSource. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 11: | Line 14: | ||
** {{wiki:ProtectedMethod.gif|}} Projection() ** | ** {{wiki:ProtectedMethod.gif|}} Projection() ** | ||
- | This method is the default protected constructor. | + | * //This method is the default protected constructor.// |
== Remarks == | == Remarks == | ||
- | None | + | * //None// |
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
Line 19: | Line 22: | ||
** {{wiki:PublicMethod.gif|}} Open() ** | ** {{wiki:PublicMethod.gif|}} Open() ** | ||
- | This method opens the projection and gets it ready to use. | + | * //This method opens the projection and gets it ready to use.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 31: | Line 34: | ||
** {{wiki:PublicMethod.gif|}} Close() ** | ** {{wiki:PublicMethod.gif|}} Close() ** | ||
- | This method closes the projection and gets it ready for serialization if necessary. | + | * //This method closes the projection and gets it ready for serialization if necessary.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 43: | Line 46: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** | ||
- | This method returns a projected vertex based on the coordinates passed in. | + | * //This method returns a projected vertex based on the coordinates passed in.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 63: | Line 66: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** | ||
- | This method returns a projected BaseShape based on the baseShape passed in. | + | * //This method returns a projected BaseShape based on the baseShape passed in.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 79: | Line 82: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** | ||
- | This method returns a projected Feature based on the Feature passed in. | + | * //This method returns a projected Feature based on the Feature passed in.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 95: | Line 98: | ||
** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** | ||
- | This method returns a projected rectangle based on the rectangle passed in. | + | * //This method returns a projected rectangle based on the rectangle passed in.// |
== Remarks == | == Remarks == | ||
- | This method returns a projected rectangle based on the rectangle passed in. | + | * //This method returns a projected rectangle based on the rectangle passed in.// |
== Return Value == | == Return Value == | ||
Line 111: | Line 114: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** | ||
- | This method returns a de-projected vertex based on the coordinates passed in. | + | * //This method returns a de-projected vertex based on the coordinates passed in.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 131: | Line 134: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** | ||
- | This method returns a de-projected BaseShape based on the BaseShape passed in. | + | * //This method returns a de-projected BaseShape based on the BaseShape passed in.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 147: | Line 150: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** | ||
- | This method returns a de-projected Feature based on the Feature passed in. | + | * //This method returns a de-projected Feature based on the Feature passed in.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 163: | Line 166: | ||
** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** | ||
- | This method returns a de-projected rectangle based on the rectangle passed in. | + | * //This method returns a de-projected rectangle based on the rectangle passed in.// |
== Remarks == | == Remarks == | ||
- | This method returns a de-projected rectangle based on the rectangle passed in. | + | * //This method returns a de-projected rectangle based on the rectangle passed in.// |
== Return Value == | == Return Value == | ||
Line 179: | Line 182: | ||
** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** | ** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 191: | Line 194: | ||
** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** | ** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 203: | Line 206: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 215: | Line 218: | ||
** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 231: | Line 234: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 243: | Line 246: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 256: | Line 259: | ||
** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
- | This method opens the projection and gets it ready to use. | + | * //This method opens the projection and gets it ready to use.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 268: | Line 271: | ||
** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
- | This method closes the projection and gets it ready for serialization if necessary. | + | * //This method closes the projection and gets it ready for serialization if necessary.// |
== Remarks == | == Remarks == | ||
- | 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. | + | * //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 == | == Return Value == | ||
Line 280: | Line 283: | ||
** {{wiki:ProtectedMethod.gif|}} 0RM=(Feature) ** | ** {{wiki:ProtectedMethod.gif|}} 0RM=(Feature) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 296: | Line 299: | ||
** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** | ||
- | This method returns projected vertices based on the coordinates passed in. | + | * //This method returns projected vertices based on the coordinates passed in.// |
== Remarks == | == 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. | + | * //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 == | == Return Value == | ||
Line 316: | Line 319: | ||
** {{wiki:ProtectedMethod.gif|}} 0hM=(Feature) ** | ** {{wiki:ProtectedMethod.gif|}} 0hM=(Feature) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 332: | Line 335: | ||
** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ||
- | This method returns de-projected vertices based on the coordinates passed in. | + | * //This method returns de-projected vertices based on the coordinates passed in.// |
== Remarks == | == 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 go to and from various projections. | + | * //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 == | == Return Value == | ||
Line 352: | Line 355: | ||
** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 364: | Line 367: | ||
** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 376: | Line 379: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 388: | Line 391: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == |