COpenGL::GetUnits![]()
void GetUnits( int* UnitIdentifier, float* UnitsPerMeter )
Parameters
| UnitIdentifie | Pointer 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. |
| UnitsPerMete | Pointer 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
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |