Close

Relief for ODA Team in Ukraine

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

Creates a mesh of a cone. 

 

Parameters
Description
majorRadius
[in] Major radius.
minorRadius
[in] Minor radius.
height
[in] Height of a cone.
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 cone.
divCap
[in] Specify how many radial divisions are made for the base circle.
radiusRatio
[in] Ratio of top to bottom radii.
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.