Close

Relief for ODA Team in Ukraine

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

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

 

Parameters
Description
tool
[in] A tool operand.
blank
[in] A blank operand.
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.