This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.degreesminutesseconds [2015/09/17 10:27] admin |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Core.DegreesMinutesSeconds ====== | ||
| - | This structure represents a degrees, minutes and seconds value. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | *System.ValueType | ||
| - | ***ThinkGeo.MapSuite.Core.DegreesMinutesSeconds** | ||
| - | ===== Members Summary ===== | ||
| - | === Public Constructors === | ||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#DegreesMinutesSeconds(Int32,Int32,Double)|DegreesMinutesSeconds]]** | ||
| - | * **Parameters**:Int32,Int32,Double | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:This constructor allows you to create an instance of the class by specifying the degree, minute and second values. | ||
| - | </div> | ||
| - | |||
| - | === Protected Constructors === | ||
| - | === Public Methods === | ||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Add(DegreesMinutesSeconds)|Add]]** | ||
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Add two DegreesMinutsSeconds together and return back a summary of the two. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | ||
| - | * **Parameters**:Object | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Compares current DegreesMinutesSeconds with a passing object. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetFormattedString(Int32)|GetFormattedString]]** | ||
| - | * **Parameters**:Int32 | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetFormattedString(DegreesMinutesSecondsFormatType)|GetFormattedString]]** | ||
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]] | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetFormattedString(DegreesMinutesSecondsFormatType,Int32)|GetFormattedString]]** | ||
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]],Int32 | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Serves as hash function for the particular type. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:This method returns a formatted representation of the degrees, minutes and seconds value. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#ToString(Int32)|ToString]]** | ||
| - | * **Parameters**:Int32 | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | === Protected Methods === | ||
| - | <div class_table> | ||
| - | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | === Public Properties === | ||
| - | **{{wiki:PublicProperty.gif|}}[[#Degrees|Degrees]]** | ||
| - | * **Return**:Int32 | ||
| - | * **Summary**:This property returns the degrees portion of the structure. | ||
| - | |||
| - | **{{wiki:PublicProperty.gif|}}[[#Minutes|Minutes]]** | ||
| - | * **Return**:Int32 | ||
| - | * **Summary**:This property returns the minutes portion of the structure. | ||
| - | |||
| - | **{{wiki:PublicProperty.gif|}}[[#Seconds|Seconds]]** | ||
| - | * **Return**:Double | ||
| - | * **Summary**:This property returns the seconds portion of the structure. | ||
| - | |||
| - | === Protected Properties === | ||
| - | === Public Events === | ||
| - | ===== Public Constructors ===== | ||
| - | === DegreesMinutesSeconds(Int32,Int32,Double) === | ||
| - | This constructor allows you to create an instance of the class by specifying the degree, minute and second values. | ||
| - | ==== 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. | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== Public Methods ===== | ||
| - | === Add(DegreesMinutesSeconds) === | ||
| - | Add two DegreesMinutsSeconds together and return back a summary of the two. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] | ||
| - | * **Description**:The summary of the two DegreesMinutesSeconds. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **targetDegreesMinutesSeconds** | ||
| - | * **Type**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]] | ||
| - | * **Description**:The target DegreesMinutesSeconds to be added together. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Equals(Object) === | ||
| - | Compares current DegreesMinutesSeconds with a passing object. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Boolean | ||
| - | * **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 ==== | ||
| - | **obj** | ||
| - | * **Type**:Object | ||
| - | * **Description**:The passing object which will be used to compare with current DegreesMinutesSeconds. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetFormattedString(Int32) === | ||
| - | 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**:String | ||
| - | * **Description**:This method returns a formatted representation of the degrees, minutes and seconds value. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **decimals** | ||
| - | * **Type**:Int32 | ||
| - | * **Description**:The target decimals that the degrees, minutes, seconds value will be rounded to. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetFormattedString(DegreesMinutesSecondsFormatType) === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:String | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **formatType** | ||
| - | * **Type**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]] | ||
| - | * **Description**:N/A | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetFormattedString(DegreesMinutesSecondsFormatType,Int32) === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:String | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **formatType** | ||
| - | * **Type**:[[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]] | ||
| - | * **Description**:N/A | ||
| - | |||
| - | **decimals** | ||
| - | * **Type**:Int32 | ||
| - | * **Description**:N/A | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetHashCode() === | ||
| - | Serves as hash function for the particular type. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Int32 | ||
| - | * **Description**:The hash code for this particular type. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetType() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Type | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Public Methods|Go Back]] | ||
| - | === ToString() === | ||
| - | 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**:String | ||
| - | * **Description**:This method returns a formatted representation of the degrees, minutes and seconds value. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Public Methods|Go Back]] | ||
| - | === ToString(Int32) === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:String | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **decimals** | ||
| - | * **Type**:Int32 | ||
| - | * **Description**:N/A | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | === Finalize() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Void | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | === MemberwiseClone() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Object | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | === Degrees === | ||
| - | This property returns the degrees portion of the structure. | ||
| - | ==== Remarks ==== | ||
| - | None | ||
| - | ==== Return Value ==== | ||
| - | **Return Type**:Int32 | ||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | === Minutes === | ||
| - | This property returns the minutes portion of the structure. | ||
| - | ==== Remarks ==== | ||
| - | None | ||
| - | ==== Return Value ==== | ||
| - | **Return Type**:Int32 | ||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | === Seconds === | ||
| - | This property returns the seconds portion of the structure. | ||
| - | ==== Remarks ==== | ||
| - | None | ||
| - | ==== Return Value ==== | ||
| - | **Return Type**:Double | ||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.