Class Ifc2x3::IfcBooleanResult

Nested Relationships

This class is a nested type of Struct Ifc2x3.

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Ifc2x3::IfcBooleanResult : public Ifc2x3::IfcGeometricRepresentationItem

Definition from ISO/CD 10303-42: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 10303-42 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 10303-42:1994, p.175 for the final definition of the formal standard.

HISTORY: New class in IFC Release 1.5.1.

Subclassed by Ifc2x3::IfcBooleanClippingResult

Public Types

typedef IfcTemplatedEntityList<IfcBooleanResult> list

Public Functions

::Ifc2x3::IfcBooleanOperator::Value Operator() const

The Boolean operator used in the operation to create the result.

void setOperator(::Ifc2x3::IfcBooleanOperator::Value v)
::Ifc2x3::IfcBooleanOperand *FirstOperand() const

The first operand to be operated upon by the Boolean operation.

void setFirstOperand(::Ifc2x3::IfcBooleanOperand *v)
::Ifc2x3::IfcBooleanOperand *SecondOperand() const

The second operand specified for the operation.

void setSecondOperand(::Ifc2x3::IfcBooleanOperand *v)
const IfcParse::entity &declaration() const
IfcBooleanResult(IfcEntityInstanceData *e)
IfcBooleanResult(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand *v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand *v3_SecondOperand)

Public Static Functions

const IfcParse::entity &Class()