API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > boolean Method > OdIfcModelerGeometry::boolean Method (OdIfcHalfSpaceSolidPtr)
OdIfcModelerGeometry::boolean Method (OdIfcHalfSpaceSolidPtr)
Syntax
C++
virtual OdResult boolean(OdIfcHalfSpaceSolidPtr tool) = 0;
Parameters 
Description 
OdIfcHalfSpaceSolidPtr tool 
[in] A smart-pointer to the half-space solid object. 

Returns the creation result code:

  • eOk if the half-space solid was successfully created.
  • eNullEntityPointer if the tool has the illegal type.
  • eGeneralModelingFailure in other cases.

Creates a half-space solid and stores it in the geometry modeler object. 

 

The method returns the eNullEntityPointer value when the geometry modeler body is equal to the NULL, or the surface that defines the side of the half-space is equal to the NULL.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.