AngularValue Class

Inherits from

GeoCalc.FormattedValue

 

Description

The AngularValue class describes a single angular value.  The units for this value are given by an AngularUnit object.

The AngularValue and LinearValue classes rely upon the use of format strings, some of which may be quite complex in order to produce the desired format. For a complete list of the formatting rules, see String Formats.

 

Constructors

Constructor

Description

AngularValue

Creates a new instance of the AngularValue class

 

Properties

Property

Description

Class

Gets the coordinate reference system type. (Overrides FormattedValue.Class).

Format

Gets or sets the format string associated with this value. i.e.) "DD.MMSS" (Overrides FormattedValue.Format).

InDegrees

Gets or sets the scalar value in degrees.

InRadians

Gets or sets the scalar value in radians.

RangeCenter

Gets or sets the center of the ValidRange for values in degrees. Default is 0.

Units

Gets or sets the unit associated with the value. (Overrides FormattedValue.Units).

ValidRange

Gets or sets the range for valid values in degrees. Default is 180 (so +/- 180) from RangeCenter.

Value

Gets or sets the value in default units. (Degrees, Meters, Unity) (Overrides FormattedValue.Value).

Inherited Property

Description

InUnits

Inherited from FormattedValue.

IsNull

Inherited from FormattedValue.

Label

Inherited from FormattedValue.

 

Methods

Method

Description

Clone

Creates a clone of this object. Implements ICloneable (Overrides the abstract ChangeDetail.Clone()).

FromString

Sets the value based on the string representation. (Overrides FormattedValue.FromString).

ToString

Creates a string representation of the value. (Overrides FormattedValue.ToString()).

Inherited Method

Description

Equals

Inherited from FormattedValue.

GetHashCode

Inherited from FormattedValue.

GetType

Inherited from Object.

ToString

Inherited from FormattedValue.

 

Events

Inherited Event

Description

Changed

Inherited from FormattedValue.