CODMeasure::CODMeasure

Constructor.

Defined in: OdMeasure.cpp

Syntax

CODMeasure::CODMeasure(const OD_UNIT_OF_MEASURE units, const float fValue);

CODMeasure::CODMeasure(const OD_UNIT_OF_MEASURE units, const CODMeasure& src);

CODMeasure::CODMeasure(const CODMeasure& src);

Parameters

units

Unit of measure.

fValue

Value of measurement.

src

Measurement object to copy.

Comments

The first version of the constructor takes both the unit of measure and value as parameters. The second version takes a unit of measure and another CODMeasure object, which it converts into the specified unit of measure. The third version is a straight copy constructor, which copies the unit of measure and value from the given CODMeasure object.