Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcModelerGeometry::sphere Method
Syntax
C++
virtual OdResult sphere(const OdGePoint3d& ptOrigin, double radius) = 0;

Creates a sphere body in the geometry modeler object. 

 

Parameters
Description
ptOrigin
[in] A point that defines the position of the sphere.
radius
[in] A radius of the sphere.

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

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