API Reference > FacetModeler Namespace > Classes > Cylinder Class > Cylinder::Cylinder Constructor
Cylinder::Cylinder Constructor
Syntax
C++
Cylinder(const OdGeLine3d& axis, const OdGeVector3d& startDir, double dRadius, OdUInt32 approx);
Parameters 
Description 
const OdGeLine3d& axis 
[in] Axis of the cylinder.  
const OdGeVector3d& startDir 
[in] Start direction of rotation.  
double dRadius 
[in] Radius value.  
OdUInt32 approx 
[in] Approximation. 

Creates a cylinder with the specified axis of rotation, start direction of rotation, radius and approximation. 

 

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