Class Ifc4::IfcBooleanResult¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcGeometricRepresentationItem
(Class Ifc4::IfcGeometricRepresentationItem)
Derived Type¶
public Ifc4::IfcBooleanClippingResult
(Class Ifc4::IfcBooleanClippingResult)
Class Documentation¶

class
Ifc4
::
IfcBooleanResult
: public Ifc4::IfcGeometricRepresentationItem¶ Definition from ISO/CD 1030342:1992: A Boolean result is the result of a regularized operation on two solids to create a new solid. Valid operations are regularized union, regularized intersection, and regularized difference. For purpose of Boolean operations, a solid is considered to be a regularized set of points. The final Boolean result depends upon the operation and the two operands. In the case of the difference operator the order of the operands is also significant. The operator can be either union, intersection or difference. The effect of these operators is described below:
Union on two solids is the new solid that is the regularization of the set of all points that are in either the first operand or the second operand or in both. Intersection on two solids is the new solid that is the regularization of the set of all points that are in both the first operand and the second operand. The result of the difference operation on two solids is the regularization of the set of all points which are in the first operand, but not in the second operand.
NOTE For example if the first operand is a block and the second operand is a solid cylinder of suitable dimensions and location, the boolean result produced with the difference operator would be a block with a circular hole.
NOTE Corresponding ISO 1030342 entity: boolean_result. The derived attribute Dim has been added at this level and was therefore demoted from the geometric_representation_item. Please refer to ISO/IS 1030342:1994, p.175 for the final definition of the formal standard.
HISTORY: New class in IFC Release 1.5.1.
Subclassed by Ifc4::IfcBooleanClippingResult
Public Types

typedef IfcTemplatedEntityList<IfcBooleanResult>
list
¶
Public Functions

::Ifc4::IfcBooleanOperator::Value
Operator
() const¶ The Boolean operator used in the operation to create the result.

void
setOperator
(::Ifc4::IfcBooleanOperator::Value v)¶

::Ifc4::IfcBooleanOperand *
FirstOperand
() const¶ The first operand to be operated upon by the Boolean operation.

void
setFirstOperand
(::Ifc4::IfcBooleanOperand *v)¶

::Ifc4::IfcBooleanOperand *
SecondOperand
() const¶ The second operand specified for the operation.

void
setSecondOperand
(::Ifc4::IfcBooleanOperand *v)¶

IfcBooleanResult
(IfcEntityInstanceData *e)¶

IfcBooleanResult
(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand *v2_FirstOperand, ::Ifc4::IfcBooleanOperand *v3_SecondOperand)¶

typedef IfcTemplatedEntityList<IfcBooleanResult>