THuiXYMetric Struct Reference

struct THuiXYMetric

A pair of metrics used to represent a value in both X and Y directions, similar to a THuiRealPoint .

Constructor & Destructor Documentation

THuiXYMetric()

IMPORT_C THuiXYMetric ( )

Constructor.

THuiXYMetric(const THuiMetric &)

IMPORT_C THuiXYMetric ( const THuiMetric & aMetric )

Constructor. Uses the same metric for both axes.

Parameters

const THuiMetric & aMetric Metric for the X and Y axes.

THuiXYMetric(const THuiMetric &, const THuiMetric &)

IMPORT_C THuiXYMetric ( const THuiMetric & aX,
const THuiMetric & aY
)

Constructor.

Parameters

const THuiMetric & aX metric for the X axis
const THuiMetric & aY metric for the Y axis

Member Functions Documentation

Abs()

THuiXYMetric Abs ( ) const [inline]

operator*(const THuiRealPoint &)

THuiXYMetric operator* ( const THuiRealPoint & aPoint ) const [inline]

Parameters

const THuiRealPoint & aPoint

Member Data Documentation

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]

THuiMetric iX

THuiMetric iX

THuiMetric iY

THuiMetric iY