This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.projection [2015/08/20 03:08] 127.0.0.1 external edit |
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. | |
- | <!-- Class --> | + | |
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.SilverlightCore.Projection]] | + | ***ThinkGeo.MapSuite.SilverlightCore.Projection** |
- | ***[[ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection]] | + | *[[ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection]] |
- | ***[[ThinkGeo.MapSuite.SilverlightCore.RotationProjection]] | + | *[[ThinkGeo.MapSuite.SilverlightCore.RotationProjection]] |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:ProtectedMethod.gif|}} Projection() ** |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Projection()|Projection]] | | | | | + | |
+ | * //This method is the default protected constructor.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Open() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Close()|Close]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(BaseShape)|ConvertToExternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(Feature)|ConvertToExternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(RectangleShape)|ConvertToExternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(Double, Double)|ConvertToExternalProjection]] | Double, Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(RectangleShape)|ConvertToInternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(BaseShape)|ConvertToInternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(Double, Double)|ConvertToInternalProjection]] | Double, Double | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(Feature)|ConvertToInternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetExternalGeographyUnit()|GetExternalGeographyUnit]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetInternalGeographyUnit()|GetInternalGeographyUnit]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //This method opens the projection and gets it ready to use.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | | | | + | * //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.// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ConvertToExternalProjectionCore(Double[], Double[])|ConvertToExternalProjectionCore]] | Double[], Double[] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ConvertToInternalProjectionCore(Double[], Double[])|ConvertToInternalProjectionCore]] | Double[], Double[] | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetExternalGeographyUnitCore()|GetExternalGeographyUnitCore]] | | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetInternalGeographyUnitCore()|GetInternalGeographyUnitCore]] | | | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsOpen|IsOpen]] | Boolean | | | | + | * Description:None |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#CanReproject|CanReproject]] | Boolean | | | | + | ** {{wiki:PublicMethod.gif|}} Close() ** |
- | ==== Public Events ==== | + | * //This method closes the projection and gets it ready for serialization if necessary.// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == 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.// | ||
- | ===== Public Constructors ===== | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Void |
- | ==== Projection() ==== | + | * Description:None |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Protected Constructors|Go Back]] | + | == Parameters == |
- | ===== Public Methods ===== | + | <div newline></div> |
- | ==== Close() ==== | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method returns a projected vertex based on the coordinates passed in.// |
- | ^ Name ^ Type ^ Description ^ | + | == 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.// | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] |
- | ==== ConvertToExternalProjection(BaseShape) ==== | + | * Description:This method returns a projected vertex based on the coordinates passed in. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //x// |
- | | baseShape | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | * Type:Double |
+ | * Description:This parameter is the X decimalDegreesValue of the point that will be projected. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //y// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== ConvertToExternalProjection(Feature) ==== | + | * Description:This parameter is the Y decimalDegreesValue of the point that will be projected. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** |
- | | feature | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //This method returns a projected BaseShape based on the baseShape passed in.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ConvertToExternalProjection(RectangleShape) ==== | + | * //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 Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
- | | rectangleShape | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | * Description:This method returns a projected baseShape for the passed-in BaseShape. |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //baseShape// |
- | ==== ConvertToExternalProjection(Double, Double) ==== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
- | === Return Value === | + | * Description:This parameter is the baseShape (in decimalDegreesValue) to be projected. |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** |
- | | x | Double<!-- System.Double --> | | | + | |
- | | y | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //This method returns a projected Feature based on the Feature passed in.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ConvertToInternalProjection(RectangleShape) ==== | + | * //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 Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
- | | rectangleShape | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | * Description:This method returns a projected Feature for the passed-in Feature. |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== ConvertToInternalProjection(BaseShape) ==== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
- | === Return Value === | + | * Description:This parameter is the Feature that contains a BaseShape in decimalDegreesValue to be projected. |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** |
- | | baseShape | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //This method returns a projected rectangle based on the rectangle passed in.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ConvertToInternalProjection(Double, Double) ==== | + | * //This method returns a projected rectangle based on the rectangle passed in.// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
- | | x | Double<!-- System.Double --> | | | + | * Description:This method returns a projected rectangle based on the rectangle passed in. |
- | | y | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //rectangleShape// |
- | ==== ConvertToInternalProjection(Feature) ==== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
- | === Return Value === | + | * Description:This parameter represents the rectangle you want to project. |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** |
- | | feature | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //This method returns a de-projected vertex based on the coordinates passed in.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Equals(Object) ==== | + | * //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 Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] |
- | | obj | Object<!-- System.Object --> | | | + | * Description:This method returns a de-projected vertex based on the coordinates passed in. |
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //x// |
- | ==== GetExternalGeographyUnit() ==== | + | * Type:Double |
- | === Return Value === | + | * Description:This parameter is the X decimalDegreesValue of the point that will be de-projected. |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | * //y// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:This parameter is the Y decimalDegreesValue of the point that will be de-projected. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** |
- | ==== GetHashCode() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //This method returns a de-projected BaseShape based on the BaseShape passed in.// |
- | ^ Name ^ Type ^ Description ^ | + | == 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.// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
- | ==== GetInternalGeographyUnit() ==== | + | * Description:This method returns a de-projected BaseShape for the passed in BaseShape. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //baseShape// |
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | ||
+ | * Description:This parameter is the baseShape (in decimalDegreesValue) to be de-projected. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** |
- | ==== GetType() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | * //This method returns a de-projected Feature based on the Feature passed in.// |
- | ^ Name ^ Type ^ Description ^ | + | == 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.// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
- | ==== Open() ==== | + | * Description:This method returns a de-projected Feature for the passed-in Feature. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //feature// |
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | ||
+ | * Description:This parameter is the Feature that contains a BaseShape in decimalDegreesValue to be de-projected. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** |
- | ==== ToString() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //This method returns a de-projected rectangle based on the rectangle passed in.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //This method returns a de-projected rectangle based on the rectangle passed in.// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
- | ===== Protected Methods ===== | + | * Description:This method returns a de-projected rectangle based on the rectangle passed in. |
- | ==== CloseCore() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //rectangleShape// |
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] | ||
+ | * Description:This parameter represents the rectangle you want to de-project. | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** |
- | ==== ConvertToExternalProjectionCore(Double[], Double[]) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]][]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex[[]] --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | x | Double[]<!-- System.Double[[]] --> | | | + | * //N/A// |
- | | y | Double[]<!-- System.Double[[]] --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] |
- | ==== ConvertToInternalProjectionCore(Double[], Double[]) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]][]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex[[]] --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | x | Double[]<!-- System.Double[[]] --> | | | + | ** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** |
- | | y | Double[]<!-- System.Double[[]] --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== Finalize() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ==== GetExternalGeographyUnitCore() ==== | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:String |
- | ==== GetInternalGeographyUnitCore() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== MemberwiseClone() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Boolean |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //obj// |
- | ==== OpenCore() ==== | + | * Type:Object |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ===== Public Properties ===== | + | * //N/A// |
- | ==== IsOpen ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Int32 |
- | ===== Protected Properties ===== | + | * Description:N/A |
- | ==== CanReproject ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Parameters == |
- | [[#Protected Properties|Go Back]] | + | <div newline></div> |
- | ===== Public Events ===== | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | __NOTOC__ | + | |
- | [[Category:SilverlightMapSuiteCore]] | + | * //N/A// |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | == Remarks == |
- | [[Category:UpdateDocumentation]] | + | * //N/A// |
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
+ | |||
+ | * //This method opens the projection and gets it ready to use.// | ||
+ | == 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.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:None | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
+ | |||
+ | * //This method closes the projection and gets it ready for serialization if necessary.// | ||
+ | == 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.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:None | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 0RM=(Feature) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //feature// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** | ||
+ | |||
+ | * //This method returns 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.SilverlightCore.Vertex[]|Vertex[]]] | ||
+ | * Description:This method returns 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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} 0hM=(Feature) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //feature// | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ||
+ | |||
+ | * //This method returns 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 go to and from various projections.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex[]|Vertex[]]] | ||
+ | * Description:This method returns 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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetInternalGeographyUnitCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetExternalGeographyUnitCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} IsOpen ** | ||
+ | |||
+ | This property gets the state of the projection (whether it is opened or closed). | ||
+ | == Remarks == | ||
+ | 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 == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ** {{wiki:ProtectedProperty.gif|}} CanReproject ** | ||
+ | |||
+ | This property indicates whether this projection should be used. | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ==== Public Events ==== | ||