IfcBooleanResult

IfcBooleanResult是对两个实数操作数应用布尔运算的结果。

例如,如果第一个操作数是块,而第二个操作数是具有适当尺寸和位置的实心圆柱体,则使用差分运算符生成的布尔结果将是带有圆孔的块。
注释定义符合ISO/CD 10303-42:1992
布尔结果是对两个实体进行正则化操作以创建新实体的结果。有效的运算是正则并集、正则交和正则差分。在布尔运算中,实体被认为是一组正则点。最终的布尔结果取决于操作和两个操作数。对于差分运算符,操作数的顺序也很重要。运算符可以是并集、交集或差分。这些运算符的作用如下所述:
①两个实体上的并集是新的实体,它是第一个操作数或第二个操作数或两者中的所有点集的正则化。
②两个实体上的交集是新的实体,它是第一个操作数和第二个操作数中所有点集的正则化。
③两个实体上的差分运算的结果是第一个操作数(而不是第二个操作数)中所有点集的正则化。
注意ISO 10303-42中定义的相应步骤类型布尔结果。
在IFC1.5.1中增加的新实体。

 

#AttributeTypeCardinalityDescriptionC
IfcRepresentationItem
  LayerAssignment IfcPresentationLayerAssignment
@AssignedItems
S[0:1] Assignment of the representation item to a single or multiple layer(s). The LayerAssignments can override a LayerAssignments of the IfcRepresentation it is used within the list of Items. X
  StyledByItem IfcStyledItem
@Item
S[0:1] Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve. X
IfcGeometricRepresentationItem
IfcBooleanResult
1 Operator IfcBooleanOperator [1:1] 在操作中用于创建结果的布尔运算符。 X
2 FirstOperand IfcBooleanOperand [1:1] 布尔运算要操作的第一个操作数。 X
3 SecondOperand IfcBooleanOperand [1:1] 为操作指定的第二个操作数。 X
  Dim
:=FirstOperand.Dim
IfcDimensionCount [1:1] 这个实体的空间维度。它与第一个操作数的空间维数相同。where规则确保两个操作数具有相同的空间维度。 X
EXPRESS Specification
ENTITY IfcBooleanResult
 SUPERTYPE OF(IfcBooleanClippingResult)
 SUBTYPE OF (IfcGeometricRepresentationItem);
  Operator : IfcBooleanOperator;
  FirstOperand : IfcBooleanOperand;
  SecondOperand : IfcBooleanOperand;
 DERIVE
  Dim : IfcDimensionCount := FirstOperand.Dim;
 WHERE
  SameDim : FirstOperand.Dim = SecondOperand.Dim;
END_ENTITY;

 

posted @ 2020-06-19 08:14  西北逍遥  阅读(332)  评论(0编辑  收藏  举报