Unit Class

Inherits from

GeoCalc.Serializable

 

Classes that Inherit Unit

GeoCalc.AngularUnit

GeoCalc.LinearUnit

GeoCalc.ScalarUnit

 

Description

An abstract base class for all specific Unit types, including AngularUnit, LinearUnit and ScalarUnit.

 

Constructors

Method

Description

Unit

Creates a new instance of the Unit class

 

Properties

Property

Description

Abbreviation

Gets or sets abbreviation for the unit of measure.

UnitDescription

Gets the description of the base unit is.

UnitsPerBase

Gets or sets the base unit conversion.

Inherited Property

Description

AlwaysSaveToCustom

Derived from Serializable.

DeprecatedTimestamp

Derived from Serializable.

HistoryList

Derived from Serializable.

Identifiers

Derived from Serializable.

IsBase

Derived from Serializable.

IsDeprecated

Derived from Serializable.

IsFileBased

Derived from Serializable.

IsReadOnly

Derived from Serializable.

IsUsable

Derived from Serializable.

Name

Derived from Serializable.

ObjectType

Derived from Serializable.

ObjectTypeName

Derived from Serializable.

Remarks

Derived from Serializable.

RevisionTimestamp

Derived from Serializable.

 

Methods

Method

Description

Equals

Value equals comparison. (Overrides Object.Equals(Object)).

Equivalent

Comparison to see if the object obj is "nearly" equal to this. (Overrides Serializable.Equivalent(Serializable, Boolean)).

FromBaseUnits

Converts the specified number in base units to the equivalent in default units.

GetHashCode

Serves as a hash function for a particular type. (Overrides Object.GetHashCode()).

StrictlyEquals

Comparison to see if the object obj is exactly equal to this. (Overrides Serializable.StrictlyEquals(Serializable).)

ToBaseUnits

Converts the specified number in base units to the equivalent value in default units.

Inherited Method

Description

ClearSaveInfo

Inherited from Serializable.

ClearUsabilityFlags

Inherited from Serializable.

Clone

Inherited from Serializable.

EquivalentDiffs

Inherited from Serializable.

GetObjectDescription

Inherited from Serializable.

GetType

Gets the Type of the current instance. (Inherited from Object).

IsBaseNearlyEqual

Inherited from Serializable.

IsNearlyEqual

Inherited from Serializable.

IsUsabilityFlagSet

Inherited from Serializable.

SetUsabilityFlag

Inherited from Serializable.

ToString

Returns a string that represents the current object. (Inherited from Object).

TryToFixUsability

Inherited from Serializable.

UnsetUsabilityFlag

Inherited from Serializable.