User Tools

Site Tools


thinkgeo.mapsuite.core.degreesminutesseconds

This is an old revision of the document!


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

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.

Protected Constructors

Public Methods

Add

  • DeclaringType:N/A
  • Summary:Add two DegreesMinutsSeconds together and return back a summary of the two.

Equals

  • Parameters:Object
  • DeclaringType:N/A
  • Summary:Compares current DegreesMinutesSeconds with a passing object.

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.

GetFormattedString

GetFormattedString

GetHashCode

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:Serves as hash function for the particular type.

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

ToString

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns a formatted representation of the degrees, minutes and seconds value.

ToString

  • Parameters:Int32
  • DeclaringType:N/A
  • Summary:N/A

Protected Methods

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Public Properties

Degrees

  • Return:Int32
  • Summary:This property returns the degrees portion of the structure.

Minutes

  • Return:Int32
  • Summary:This property returns the minutes portion of the structure.

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. 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:DegreesMinutesSeconds * Description:The summary of the two DegreesMinutesSeconds. ==== Parameters ==== targetDegreesMinutesSeconds * Type:DegreesMinutesSeconds * Description:The target DegreesMinutesSeconds to be added together. 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. 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. Go Back === GetFormattedString(DegreesMinutesSecondsFormatType) === N/A ==== Remarks ==== N/A Return Value * Return Type:String * Description:N/A ==== Parameters ==== formatType * Type:DegreesMinutesSecondsFormatType * Description:N/A Go Back === GetFormattedString(DegreesMinutesSecondsFormatType,Int32) === N/A ==== Remarks ==== N/A Return Value * Return Type:String * Description:N/A ==== Parameters ==== formatType * Type:DegreesMinutesSecondsFormatType * Description:N/A decimals * Type:Int32 * Description:N/A 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 ==== Go Back === GetType() === N/A ==== Remarks ==== N/A Return Value * Return Type:Type * Description:N/A ==== Parameters ==== 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 ==== Go Back === ToString(Int32) === N/A ==== Remarks ==== N/A Return Value * Return Type:String * Description:N/A ==== Parameters ==== decimals * Type:Int32 * Description:N/A Go Back ===== Protected Methods ===== === Finalize() === N/A ==== Remarks ==== N/A Return Value * Return Type:Void * Description:N/A ==== Parameters ==== Go Back === MemberwiseClone() === N/A ==== Remarks ==== N/A Return Value * Return Type:Object * Description:N/A ==== Parameters ==== Go Back ===== Public Properties ===== === Degrees === This property returns the degrees portion of the structure. ==== Remarks ==== None ==== Return Value ==== Return Type:Int32 Go Back === Minutes === This property returns the minutes portion of the structure. ==== Remarks ==== None ==== Return Value ==== Return Type:Int32 Go Back === Seconds === This property returns the seconds portion of the structure. ==== Remarks ==== None ==== Return Value ==== Return Type**:Double

Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.degreesminutesseconds.1442485645.txt.gz · Last modified: 2015/09/17 10:27 by admin