This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.silverlightcore.projnetprojection [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.silverlightcore.projnetprojection [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection ====== | ====== ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | + | This projection class uses the Proj4 engine to project data from one Srid to another. | |
- | <!-- 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** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ProjNetProjection() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ProjNetProjection()|ProjNetProjection]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ProjNetProjection(String, String)|ProjNetProjection]] | String, String | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ProjNetProjection(Int32, Int32)|ProjNetProjection]] | Int32, Int32 | | | | + | |
- | ==== Protected Constructors ==== | + | * //This is the default constructor for this class.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //This conctructor pass nothing. After this cconstructor , you should set the InternalProjectionParametersString property and ExternalProjectionParametersString property before open to use.// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ProjNetProjection(String,String) ** | ||
+ | * //This is a constructor for the class.// | ||
+ | == Remarks == | ||
+ | * //This constructor allows you to pass in Proj4 text parameters for the to and from projection. The parameters typically look like "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" You should use this constructor when you know the parameters. If you know the SRID directly you can use the other constructor that takes the SRID.// | ||
+ | == Parameters == | ||
+ | * //internalProjectionParametersString// | ||
+ | * Type:String | ||
+ | * Description:This parameter is the projection parameters describing the data. | ||
+ | |||
+ | * //externalProjectionParametersString// | ||
+ | * Type:String | ||
+ | * Description:This parameter is the projection parameters describing the projection you want to go to. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ProjNetProjection(Int32,Int32) ** | ||
+ | |||
+ | * //This is a constructor for the class.// | ||
+ | == Remarks == | ||
+ | * //This constructor allows you to pass in Proj4 srid parameters for the to and from projection. The parameters typically look like 4320 stands for "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" and 4604 stands for " +proj=longlat +ellps=clrk80 +towgs84=174,359,365,0,0,0,0 +no_defs". You should use this constructor when you know the parameters. If you know the SRID directly you can use the other constructor that takes the SRID.// | ||
+ | == Parameters == | ||
+ | * //internalEpsgSrid// | ||
+ | * Type:Int32 | ||
+ | * Description:This parameter is the projection srid parameter describing the data. | ||
+ | |||
+ | * //externalEpsgSrid// | ||
+ | * Type:Int32 | ||
+ | * Description:This parameter is the projection srid parameter describing the projection you want to go to. | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Dispose() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Close()|Close]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(RectangleShape)|ConvertToExternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(Double, Double)|ConvertToExternalProjection]] | Double, Double | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(Feature)|ConvertToExternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToExternalProjection(BaseShape)|ConvertToExternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(RectangleShape)|ConvertToInternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(Double, Double)|ConvertToInternalProjection]] | Double, Double | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(BaseShape)|ConvertToInternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ConvertToInternalProjection(Feature)|ConvertToInternalProjection]] | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Dispose()|Dispose]] | | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetExternalGeographyUnit()|GetExternalGeographyUnit]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetInternalGeographyUnit()|GetInternalGeographyUnit]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //This is the dispose method for the class.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]](overriden) | | | + | * //This dispose releases the handles of the Proj4 library. You should normally use Close instead of dispose unless you really want to never use this instance again. Normally when a layer is finished drawing it will call the Close of the projection class. This allows the object to be serialize but used again in the future. You should only use the Dispose method when you do not want to use this class again.// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ConvertToExternalProjectionCore(Double[], Double[])|ConvertToExternalProjectionCore]] | Double[], Double[] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ConvertToInternalProjectionCore(Double[], Double[])|ConvertToInternalProjectionCore]] | Double[], Double[] | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetExternalGeographyUnitCore()|GetExternalGeographyUnitCore]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetInternalGeographyUnitCore()|GetInternalGeographyUnitCore]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]](overriden) | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ExternalProjectionParametersString|ExternalProjectionParametersString]] | String | | | | + | * Description:None |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#InternalProjectionParametersString|InternalProjectionParametersString]] | String | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsOpen|IsOpen]] | Boolean | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#CanReproject|CanReproject]] | Boolean | [[ThinkGeo.MapSuite.SilverlightCore.Projection|Projection]] | | | + | ** {{wiki:PublicMethod.gif|}} Open() ** |
- | ==== Public Events ==== | + | * //N/A// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
- | ===== Public Constructors ===== | + | == Return Value == |
- | ==== ProjNetProjection() ==== | + | * Type:Void |
- | === Parameters === | + | * Description:N/A |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | == Parameters == |
- | ==== ProjNetProjection(String, String) ==== | + | <div newline></div> |
- | === Parameters === | + | ** {{wiki:PublicMethod.gif|}} Close() ** |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | internalProjectionParametersString | String<!-- System.String --> | | | + | |
- | | externalProjectionParametersString | String<!-- System.String --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== ProjNetProjection(Int32, Int32) ==== | + | == Remarks == |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | internalEpsgSrid | Int32<!-- System.Int32 --> | | | + | |
- | | externalEpsgSrid | Int32<!-- System.Int32 --> | | | + | |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:Void |
- | ===== Public Methods ===== | + | * Description:N/A |
- | ==== Close() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Double,Double) ** | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ConvertToExternalProjection(RectangleShape) ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] |
- | | rectangleShape | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //x// |
- | ==== ConvertToExternalProjection(Double, Double) ==== | + | * Type:Double |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | === Parameters === | + | * //y// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | x | Double<!-- System.Double --> | | | + | * Description:N/A |
- | | y | Double<!-- System.Double --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(BaseShape) ** |
- | ==== ConvertToExternalProjection(Feature) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | feature | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
- | ==== ConvertToExternalProjection(BaseShape) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //baseShape// |
- | | baseShape | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(Feature) ** |
- | ==== ConvertToInternalProjection(RectangleShape) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | rectangleShape | [[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.RectangleShape --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
- | ==== ConvertToInternalProjection(Double, Double) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //feature// |
- | | x | Double<!-- System.Double --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
- | | y | Double<!-- System.Double --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToExternalProjection(RectangleShape) ** |
- | ==== ConvertToInternalProjection(BaseShape) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | baseShape | [[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]]<!-- ThinkGeo.MapSuite.SilverlightCore.BaseShape --> | | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
- | ==== ConvertToInternalProjection(Feature) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //rectangleShape// |
- | | feature | [[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]]<!-- ThinkGeo.MapSuite.SilverlightCore.Feature --> | | | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Double,Double) ** |
- | ==== Dispose() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]] |
- | ==== Equals(Object) ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //x// |
- | | obj | Object<!-- System.Object --> | | | + | * Type:Double |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | * //y// |
- | [[#Public Methods|Go Back]] | + | * Type:Double |
- | ==== GetExternalGeographyUnit() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(BaseShape) ** |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetHashCode() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //baseShape// |
- | ==== GetInternalGeographyUnit() ==== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.BaseShape|BaseShape]] |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(Feature) ** |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetType() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //feature// |
- | ==== Open() ==== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Feature|Feature]] |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ConvertToInternalProjection(RectangleShape) ** |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== ToString() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //rectangleShape// |
- | ===== Protected Methods ===== | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] |
- | ==== CloseCore() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} GetInternalGeographyUnit() ** |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection(overriden) --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== ConvertToExternalProjectionCore(Double[], Double[]) ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.Vertex|Vertex]][]<!-- ThinkGeo.MapSuite.SilverlightCore.Vertex[[]] --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] |
- | | x | Double[]<!-- System.Double[[]] --> | | | + | * Description:N/A |
- | | y | Double[]<!-- System.Double[[]] --> | | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ==== ConvertToInternalProjectionCore(Double[], Double[]) ==== | + | ** {{wiki:PublicMethod.gif|}} GetExternalGeographyUnit() ** |
- | === 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(overriden) --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]] |
- | ==== Finalize() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== GetExternalGeographyUnitCore() ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.SilverlightCore.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.SilverlightCore.GeographyUnit --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ==== GetInternalGeographyUnitCore() ==== | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | === 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:Boolean |
- | ==== MemberwiseClone() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //obj// |
+ | * Type:Object | ||
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | ==== OpenCore() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection(overriden) --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Int32 |
- | ===== Public Properties ===== | + | * Description:N/A |
- | ==== ExternalProjectionParametersString ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | <div newline></div> |
- | ==== InternalProjectionParametersString ==== | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.ProjNetProjection --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== IsOpen ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.SilverlightCore.Projection --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Type |
- | ===== 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 ===== | + | ==== Protected Methods ==== |
- | __NOTOC__ | + | ** {{wiki:ProtectedMethod.gif|}} ConvertToExternalProjectionCore(Double[],Double[]) ** |
- | [[Category:SilverlightMapSuiteCore]] | + | |
- | [[Category:ThinkGeo.MapSuite.SilverlightCore]] | + | * //N/A// |
- | [[Category:UpdateDocumentation]] | + | == Remarks == |
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex[]|Vertex[]]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //x// | ||
+ | * Type:Double[] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //y// | ||
+ | * Type:Double[] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} ConvertToInternalProjectionCore(Double[],Double[]) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.SilverlightCore.Vertex[]|Vertex[]]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //x// | ||
+ | * Type:Double[] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //y// | ||
+ | * Type:Double[] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
+ | |||
+ | * //This method open 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 inherited version of the class. When overriding you will be responsible for getting the projection classes state ready for doing projections. In this override we call the Proj4 methods get it ready for projection.// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:None | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
+ | |||
+ | * //This method closes the projection and gets it ready to serialization if necessary.// | ||
+ | == Remarks == | ||
+ | * //As this is the core version of the Close method it is intended to be overridden in inherited version of the class. When overriding you will be responsible freeing any state you have maintained and getting the class ready to 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 tiles without any ill effects. In this override we call the Proj4 methods get release the handles and memory.// | ||
+ | |||
+ | == 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|}} 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|}} 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|}} InternalProjectionParametersString ** | ||
+ | |||
+ | Gets or sets the Proj4 text parameter for the from projection. This parameter typically look like "+Proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs". | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} ExternalProjectionParametersString ** | ||
+ | |||
+ | Gets or sets the Proj4 text parameter for the to projection. This parameter typically look like "+proj=utm +zone=33 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs". | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} IsOpen ** | ||
+ | |||
+ | 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 ==== | ||