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

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

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

 

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