API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::rightCircularCone Method
OdIfcModelerGeometry::rightCircularCone Method
Syntax
C++
virtual OdResult rightCircularCone(const OdGePoint3d& ptOrigin, double height, double bottomRadius) = 0;
Parameters 
Description 
const OdGePoint3d& ptOrigin 
[in] A point that defines the position of cone.  
double height 
[in] A height of the cone.  
double bottomRadius 
[in] A radius of the cone. 

Returns the operation result code: eOk if the cone was successfully created; otherwise, the method returns an appropriate error code.

Creates a right circular cone body in the geometry modeler object. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.