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(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.

Protected Constructors

Public Methods

GetHashCode()

  • Serves as hash function for the particular type.
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:The hash code for this particular type.
Parameters

Equals(Object)

  • Compares current DegreesMinutesSeconds with a passing object.
Remarks
  • N/A
Return Value
  • 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.

Add(DegreesMinutesSeconds)

  • Add two DegreesMinutsSeconds together and return back a summary of the two.
Remarks
  • N/A
Return Value
Parameters
  • targetDegreesMinutesSeconds

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
  • Type:String
  • Description:This method returns a formatted representation of the degrees, minutes and seconds value.
Parameters

ToString(Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • decimals
    • Type:Int32
    • Description:N/A

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
  • 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.

GetFormattedString(DegreesMinutesSecondsFormatType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

GetFormattedString(DegreesMinutesSecondsFormatType,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • decimals
    • Type:Int32
    • Description:N/A

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Degrees

This property returns the degrees portion of the structure.

Remarks

None

Return Value
  • Type:Int32

Minutes

This property returns the minutes portion of the structure.

Remarks

None

Return Value
  • Type:Int32

Seconds

This property returns the seconds portion of the structure.

Remarks

None

Return Value
  • Type:Double

Protected Properties

Public Events

thinkgeo.mapsuite.core.degreesminutesseconds.1442909831.txt.gz · Last modified: 2015/09/22 08:17 by admin