API Reference > FacetModeler Namespace > Classes > Revolution Class > Revolution::Revolution Constructor
Revolution::Revolution Constructor
Syntax
C++
Revolution(const OdGeLine3d& axis, const OdGeVector3d& startDir);
Parameters 
Description 
const OdGeLine3d& axis 
[in] Axis of rotation line.  
const OdGeVector3d& startDir 
[in] Start direction vector. 

Constructor. Creates a revolution surface with the specified axis of rotation and the start direction vector. 

 

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