LinearUnit Class

Inherits from

GEOCALCPBW_NAMESPACE::Unit

 

Description

The LinearUnit class represents a unit of measurement for a LinearValue.

 

Public Constructors

Constructor

Description

CreateLinearUnit

Creates a new instance of the LinearUnit class

LinearUnit

Creates a new instance of the LinearUnit class

 

Public Methods

Method

Description

DeepCopy

Produces a deep-copy of a LinearUnit

get_UnitsPerMeter

Returns the number of units defined by this LinearUnit that correspond to one meter

set_UnitsPerMeter

Sets the number of units defined by this LinearUnit that correspond to one meter

ValueEquals

Compares the value of two LinearUnits

 

Overloaded Operators

Operator

Description

operator=

Assigns a new value to this LinearUnit

operator==

Compares the value of two LinearUnits

operator!=

Compares the value of two LinearUnits