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

Sets the UCS associated with this Viewport object 

 

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