API Reference > FacetModeler Namespace > Classes > Cone Class > Cone::Cone Constructor
Cone::Cone Constructor
Syntax
C++
Cone(const OdGeLine3d& axis, const OdGeVector3d& startDir, double bottomRadius, double topRadius, OdUInt32 approx);
Parameters 
Description 
const OdGeLine3d& axis 
[in] Axis of the cone.  
const OdGeVector3d& startDir 
[in] Start direction of rotation.  
double bottomRadius 
[in] Radius of the bottom circle.  
double topRadius 
[in] Radius of the top circle.  
OdUInt32 approx 
[in] Approximation. 

Constructor. Creates a cone with the specified axis, start direction of rotation, radius of the bottom circle, radius of the top circle and approximation. 

 

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