Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcModelerGeometry::boolean Method (OdIfcModelerGeometryPtr, IfcBooleanOperator, IfcModelerKeep)
Syntax
C++
virtual OdResult boolean(OdIfcModelerGeometryPtr tool, IfcBooleanOperator op, IfcModelerKeep keep = kBoth) = 0;

Performs a specified boolean operation between the currently stored blank body and the tool. The result of the operation is stored in the geometry modeler object instead of the currently stored body. 

 

Parameters
Description
tool
[in] A tool operand represented with a smart-pointer to the geometry modeler object.
op
[in] A type of the boolean operation to be performed.
keep
[in] An option value that determines which operands stay unchanged after the operation.

Returns the operation result code:

  • eOk if the operation was performed successfully.
  • eIllegalEntityType if operands have illegal types.
  • eGeneralModelingFailure in other cases.
Copyright © 2002-2022. Open Design Alliance All rights reserved.