API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::getUcs Method
OdDbViewport::getUcs Method
Syntax
C++
void getUcs(OdGePoint3d& origin, OdGeVector3d& xAxis, OdGeVector3d& yAxis) const;
Parameters 
Description 
OdGePoint3d& origin 
[out] Receives the UCS origin (DXF 110).  
OdGeVector3d& xAxis 
[out] Receives the UCS X-axis (DXF 111).  
OdGeVector3d& yAxis 
[out] Receives the UCS Y-axis (DXF 112). 

Returns the origin, X-axis, and Y-Axis of the UCS associated with this Viewport object. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.