LinearValue Constructor

WRAPPER_API LinearValue()

WRAPPER_API LinearValue(const LinearValue &source)

 

Description

The LinearValue constructor creates a new instance of the LinearValue class.  The default constructor takes no arguments and produces a LinearValue where the Units are meters, and the value is 0.  The second constructor is a copy-constructor, which produces a LinearValue with the same value as the LinearValue passed as argument.

 

Example

void LinearValue_LinearValue()

{

GeoCalcPBW::ProjectedPoint pt(2);

GeoCalcPBW::LinearValue lv;

lv.set_InMeters(834.05);

pt.set_North(lv);

lv.set_InMeters(12.66);

pt.set_East(lv);

}