COpenGL::GetUnits

void GetUnits( int* UnitIdentifier, float* UnitsPerMeter )

Parameters

UnitIdentifiePointer to a buffer where the current COpenGL objectís unit identifier will be stored. The received unit identifier may be one of the following values:
UI_MILIMETER    Milimeter is the current coordinate system unit.
UI_METER        Meter is the current coordinate system unit.
UI_KILOMETER    Kilometer is the current coordinate system unit.
UI_INCH         Inch is the current coordinate system unit.
UI_FEET         Feet is the current coordinate system unit.
UI_YARD         Yard is the current coordinate system unit.
UI_MILE         Mile is the current coordinate system unit.
UI_CUSTOM       Coordinate system unit is a custom coordinate system unit.
The parameter can be NULL to indicate that no unit identifier information is required.
UnitsPerMetePointer to a buffer where the current COpenGL objectís number of coordinate system units per meter value will be stored. The parameter can be NULL to indicate that the units per meter value is not required.

Remarks

Use the GetUnits method function to retrieve current COpenGL objectís coordinate system unit information.

See Also

SetUnits, SetScale, GetScale