This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.portablecore.degreesminutesseconds [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.portablecore.degreesminutesseconds [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds ====== | + | ====== ThinkGeo.MapSuite.Core.DegreesMinutesSeconds ====== |
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Structure --> | ||
This structure represents a degrees, minutes and seconds value. | This structure represents a degrees, minutes and seconds value. | ||
- | === Remarks === | ||
- | This structure is used in many places to represent decimal degree numbers as degrees, minutes and seconds. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.ValueType | + | *System.Object |
- | **[[ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds]] | + | *System.ValueType |
+ | ***ThinkGeo.MapSuite.Core.DegreesMinutesSeconds** | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} DegreesMinutesSeconds(Int32,Int32,Double) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#DegreesMinutesSeconds(Int32, Int32, Double)|DegreesMinutesSeconds]] | Int32, Int32, Double | | This constructor allows you to create an instance of the class by specifying the degree, minute and second values. | | + | |
- | ==== Protected Constructors ==== | + | * //This constructor allows you to create an instance of the class by specifying the degree, minute and second values.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //None// | ||
+ | == Parameters == | ||
+ | * //degrees// | ||
+ | * Type:Int32 | ||
+ | * Description:This parameter represents the degree portion of the structure. | ||
+ | * //minutes// | ||
+ | * Type:Int32 | ||
+ | * Description:This parameter represents the minute portion of the structure. | ||
+ | |||
+ | * //seconds// | ||
+ | * Type:Double | ||
+ | * Description:This parameter represents the second portion of the structure. | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Add(DegreesMinutesSeconds)|Add]] | [[ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds|DegreesMinutesSeconds]] | | Add two DegreesMinutsSeconds together and return back a summary of the two. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object(overriden) | Compares current DegreesMinutesSeconds with a passing object. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object(overriden) | Serves as hash function for the particular type. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object(overriden) | This method returns a formatted representation of the degrees, minutes and seconds value. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString(Int32)|ToString]] | Int32 | | This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals. | | + | |
- | ==== Protected Methods ==== | + | * //Serves as hash function for the particular type.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //N/A// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Int32 |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Degrees|Degrees]] | Int32 | | This property returns the degrees portion of the structure. | | + | * Description:The hash code for this particular type. |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Minutes|Minutes]] | Int32 | | This property returns the minutes portion of the structure. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Seconds|Seconds]] | Double | | This property returns the seconds portion of the structure. | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | ==== Public Events ==== | + | * //Compares current DegreesMinutesSeconds with a passing object.// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
- | ===== Public Constructors ===== | + | == Return Value == |
- | ==== DegreesMinutesSeconds(Int32, Int32, Double) ==== | + | * Type:Boolean |
- | This constructor allows you to create an instance of the class by specifying the degree, minute and second values. | + | * Description:True if the passing object satisfies the following two conditions:1) The object is of DegreesMinutesSeconds type.2) The Degrees, Minutes and Seconds of both DegreesMinutesSeconds should be the same.If both conditions are not met, will return false. |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | degrees | Int32<!-- System.Int32 --> | This parameter represents the degree portion of the structure. | | + | |
- | | minutes | Int32<!-- System.Int32 --> | This parameter represents the minute portion of the structure. | | + | |
- | | seconds | Double<!-- System.Double --> | This parameter represents the second portion of the structure. | | + | |
- | [[#Public Constructors|Go Back]] | + | == Parameters == |
- | ===== Protected Constructors ===== | + | * //obj// |
- | ===== Public Methods ===== | + | * Type:Object |
- | ==== Add(DegreesMinutesSeconds) ==== | + | * Description:The passing object which will be used to compare with current DegreesMinutesSeconds. |
- | Add two DegreesMinutsSeconds together and return back a summary of the two. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | The summary of the two DegreesMinutesSeconds. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} Add(DegreesMinutesSeconds) ** |
- | | targetDegreesMinutesSeconds | [[ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | The target DegreesMinutesSeconds to be added together. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | + | * //Add two DegreesMinutsSeconds together and return back a summary of the two.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Equals(Object) ==== | + | * //N/A// |
- | Compares current DegreesMinutesSeconds with a passing object. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | True if the passing object satisfies the following two conditions:1) The object is of DegreesMinutesSeconds type.2) The Degrees, Minutes and Seconds of both DegreesMinutesSeconds should be the same.If both conditions are not met, will return false. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] |
- | | obj | Object<!-- System.Object --> | The passing object which will be used to compare with current DegreesMinutesSeconds. | | + | * Description:The summary of the two DegreesMinutesSeconds. |
- | <!-- System.Object(overriden) --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //targetDegreesMinutesSeconds// |
- | ==== GetHashCode() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] |
- | Serves as hash function for the particular type. | + | * Description:The target DegreesMinutesSeconds to be added together. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | The hash code for this particular type. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | <!-- System.Object(overriden) --> | + | * //This method returns a formatted representation of the degrees, minutes and seconds value.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetType() ==== | + | * //The value will be formatted in the standard string format: 75º 21' 28"// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This method returns a formatted representation of the degrees, minutes and seconds value. | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== ToString() ==== | + | ** {{wiki:PublicMethod.gif|}} ToString(Int32) ** |
- | This method returns a formatted representation of the degrees, minutes and seconds value. | + | |
- | === Remarks === | + | |
- | The value will be formatted in the standard string format: 75º 21' 28" | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a formatted representation of the degrees, minutes and seconds value. | | + | |
- | === Parameters === | + | * //This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //The value will be formatted in the standard string format. For example, 75º 21' 2.1235" (when the decimals parameter is set to 4).// | ||
- | <!-- System.Object(overriden) --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== ToString(Int32) ==== | + | * Description:This method returns a formatted representation of the degrees, minutes and seconds value. |
- | This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals. | + | |
- | === Remarks === | + | |
- | The value will be formatted in the standard string format. For example, 75º 21' 2.1235" (when the decimals parameter is set to 4). | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | This method returns a formatted representation of the degrees, minutes and seconds value. | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //decimals// |
- | | decimals | Int32<!-- System.Int32 --> | The target decimals that the degrees, minutes, seconds value will be rounded to. | | + | * Type:Int32 |
+ | * Description:The target decimals that the degrees, minutes, seconds value will be rounded to. | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | ===== Protected Methods ===== | + | |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Type |
- | ==== MemberwiseClone() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ===== Public Properties ===== | + | * //N/A// |
- | ==== Degrees ==== | + | |
- | This property returns the degrees portion of the structure. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== Minutes ==== | + | * Description:N/A |
- | This property returns the minutes portion of the structure. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | <div newline></div> |
- | ==== Seconds ==== | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** |
- | This property returns the seconds portion of the structure. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Double<!-- System.Double --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.DegreesMinutesSeconds --> | + | * //N/A// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ===== Protected Properties ===== | + | * //N/A// |
- | ===== Public Events ===== | + | |
- | __NOTOC__ | + | == Return Value == |
- | [[Category:MapSuitePortableCore]] | + | * Type:Object |
- | [[Category:ThinkGeo.MapSuite.PortableCore]] | + | * Description:N/A |
- | [[Category:UpdateDocumentation]] | + | |
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} Degrees ** | ||
+ | |||
+ | * //This property returns the degrees portion of the structure.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Minutes ** | ||
+ | |||
+ | * //This property returns the minutes portion of the structure.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Seconds ** | ||
+ | |||
+ | * //This property returns the seconds portion of the structure.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | |||
+ | ==== Protected Properties ==== | ||
+ | ==== Public Events ==== | ||