Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSubDMesh::setSphere Method
Syntax
C++
OdResult setSphere(double radius, OdInt32 divAxis, OdInt32 divHeight, OdInt32 subDLevel);

Creates a mesh of a sphere. 

 

Parameters
Description
radius
[in] Sphere radius.
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 sphere.
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.