Close

Relief for ODA Team in Ukraine

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

Creates a block body in the geometry modeler object. 

 

Parameters
Description
ptOrigin
[in] A point that defines the block position.
xLength
[in] A length of the block along the X-axis.
yLength
[in] A length of the block along the Y-axis.
zLength
[in] A length of the block along the Z-axis.

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

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