User Tools

Site Tools


thinkgeo.mapsuite.portablecore.degreesminutesseconds

ThinkGeo.MapSuite.Core.DegreesMinutesSeconds

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

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)

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

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.portablecore.degreesminutesseconds.txt · Last modified: 2017/03/16 21:59 (external edit)