This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.degreesminutesseconds [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Core.DegreesMinutesSeconds ====== | ||
| - | |||
| - | |||
| - | |||
| - | <!-- Structure --> | ||
| - | 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 ===== | ||
| - | *System.ValueType | ||
| - | **[[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{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 ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Add(DegreesMinutesSeconds)|Add]] | [[ThinkGeo.MapSuite.Core.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}}[[#GetFormattedString(Int32)|GetFormattedString]] | Int32 | | This method returns a formatted representation of the degrees, minutes and seconds value that has been rounded to the specified decimals. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFormattedString(DegreesMinutesSecondsFormatType)|GetFormattedString]] | [[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]] | | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFormattedString(DegreesMinutesSecondsFormatType, Int32)|GetFormattedString]] | [[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]], Int32 | | | | ||
| - | | {{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. | | ||
| - | |||
| - | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Degrees|Degrees]] | Int32 | | This property returns the degrees portion of the structure. | | ||
| - | | {{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 ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Events ==== | ||
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ===== 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. | ||
| - | === 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]] | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== Public Methods ===== | ||
| - | ==== Add(DegreesMinutesSeconds) ==== | ||
| - | Add two DegreesMinutsSeconds together and return back a summary of the two. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | The summary of the two DegreesMinutesSeconds. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | targetDegreesMinutesSeconds | [[ThinkGeo.MapSuite.Core.DegreesMinutesSeconds|DegreesMinutesSeconds]]<!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | The target DegreesMinutesSeconds to be added together. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== Equals(Object) ==== | ||
| - | 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 === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | obj | Object<!-- System.Object --> | The passing object which will be used to compare with current DegreesMinutesSeconds. | | ||
| - | |||
| - | <!-- System.Object(overriden) --> | ||
| - | [[#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 ^ Description ^ | ||
| - | | String<!-- System.String --> | This method returns a formatted representation of the degrees, minutes and seconds value. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | decimals | Int32<!-- System.Int32 --> | The target decimals that the degrees, minutes, seconds value will be rounded to. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetFormattedString(DegreesMinutesSecondsFormatType) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | formatType | [[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]]<!-- ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetFormattedString(DegreesMinutesSecondsFormatType, Int32) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | formatType | [[ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType|DegreesMinutesSecondsFormatType]]<!-- ThinkGeo.MapSuite.Core.DegreesMinutesSecondsFormatType --> | | | ||
| - | | decimals | Int32<!-- System.Int32 --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | Serves as hash function for the particular type. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | The hash code for this particular type. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object(overriden) --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type<!-- System.Type --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#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 ^ Description ^ | ||
| - | | String<!-- System.String --> | This method returns a formatted representation of the degrees, minutes and seconds value. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object(overriden) --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | ==== Finalize() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | ==== Degrees ==== | ||
| - | This property returns the degrees portion of the structure. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Int32<!-- System.Int32 --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Minutes ==== | ||
| - | This property returns the minutes portion of the structure. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Int32<!-- System.Int32 --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Seconds ==== | ||
| - | This property returns the seconds portion of the structure. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Double<!-- System.Double --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.DegreesMinutesSeconds --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | __NOTOC__ | ||
| - | [[Category:MapSuiteCore]] | ||
| - | [[Category:ThinkGeo.MapSuite.Core]] | ||
| - | [[Category:UpdateDocumentation]] | ||
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.