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

Sets the current UCS of this database object. 

 

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