Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSubDMesh::setCylinder Method
Syntax
C++
OdResult setCylinder(double majorRadius, double minorRadius, double height, OdInt32 divAxis, OdInt32 divHeight, OdInt32 divCap, OdInt32 subDLevel);

Creates a mesh of a cylinder. 

 

Parameters
Description
majorRadius
[in] Major radius.
minorRadius
[in] Minor radius.
height
[in] Height of a cylinder.
divAxis
[in] Specify how many divisions are made for the base circle.
divHeight
[in] Specify how many divisions are made in the direction of the height of a cylinder.
divCap
[in] Specify how many radial divisions are made for the base circle.
subDLevel
[in] Level of smoothness.

Returns eOk if the operation completed successfully, or an appropriate error code otherwise.

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