ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Structure –> This structure represents a degrees, minutes and seconds value.
This structure is used in many places to represent decimal degree numbers as degrees, minutes and seconds.
*System.ValueType **ThinkGeo.MapSuite.Core.DegreesMinutesSeconds
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
DegreesMinutesSeconds | Int32, Int32, Double | This constructor allows you to create an instance of the class by specifying the degree, minute and second values. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Add | DegreesMinutesSeconds | Add two DegreesMinutsSeconds together and return back a summary of the two. | |
Equals | Object | Object(overriden) | Compares current DegreesMinutesSeconds with a passing object. |
GetFormattedString | Int32 | This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals. | |
GetFormattedString | DegreesMinutesSecondsFormatType | ||
GetFormattedString | DegreesMinutesSecondsFormatType, Int32 | ||
GetHashCode | Object(overriden) | Serves as hash function for the particular type. | |
GetType | Object | ||
ToString | Object(overriden) | This method returns a formatted representation of the degrees, minutes and seconds value. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This constructor allows you to create an instance of the class by specifying the degree, minute and second values.
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. |
Add two DegreesMinutsSeconds together and return back a summary of the two.
Return Type | Description |
---|---|
DegreesMinutesSeconds<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> | The summary of the two DegreesMinutesSeconds. |
Name | Type | Description |
---|---|---|
targetDegreesMinutesSeconds | DegreesMinutesSeconds<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> | The target DegreesMinutesSeconds to be added together. |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back
Compares current DegreesMinutesSeconds with a passing object.
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. |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> | The passing object which will be used to compare with current DegreesMinutesSeconds. |
<!– System.Object(overriden) –> Go Back
This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals.
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 Type | Description |
---|---|
String<!– System.String –> | This method returns a formatted representation of the degrees, minutes and seconds value. |
Name | Type | Description |
---|---|---|
decimals | Int32<!– System.Int32 –> | The target decimals that the degrees, minutes, seconds value will be rounded to. |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|---|---|
formatType | DegreesMinutesSecondsFormatType<!– ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType –> |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|---|---|
formatType | DegreesMinutesSecondsFormatType<!– ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType –> | |
decimals | Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back
Serves as hash function for the particular type.
Return Type | Description |
---|---|
Int32<!– System.Int32 –> | The hash code for this particular type. |
Name | Type | Description |
---|
<!– System.Object(overriden) –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns a formatted representation of the degrees, minutes and seconds value.
The value will be formatted in the standard string format: 75º 21' 28”
Return Type | Description |
---|---|
String<!– System.String –> | This method returns a formatted representation of the degrees, minutes and seconds value. |
Name | Type | Description |
---|
<!– System.Object(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This property returns the degrees portion of the structure.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back
This property returns the minutes portion of the structure.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back
This property returns the seconds portion of the structure.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.Core.DegreesMinutesSeconds –> Go Back