8.18.3.12 IfcRepresentation(表示)
抽象 该定义可能不会被直接实例化。
8.18.3.12.1 语义定义(Semantic definition)
IfcRepresentation 定义了表示产品属性(特别是产品形状)的通用概念。
表示使用定义
每个表示,无论是 IfcShapeRepresentation 还是 IfcTopologyRepresentation,都应具有明确定义的:
- ContextOfItems:引用为此表示约定的 IfcGeometricRepresentationContext。
- RepresentationIdentifier:表示的名称,例如,3D 形状为 'Body',2D 平面视图为 'FootPrint',参考轴为 'Axis'。
- RepresentationType:几何或拓扑表示类型的名称,例如,3D 扫描实体为 'SweptSolid',边界表示为 'Brep'。
8.18.3.12.2 实体继承(Entity inheritance)
8.18.3.12.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcRepresentation (7) | |||
| 1 | ContextOfItems | IfcRepresentationContext |
表示上下文的定义,不同子类型的表示在此上下文中有效。 |
| 2 | RepresentationIdentifier | OPTIONAL IfcLabel |
在项目内使用的表示的可选标识符。 |
| 3 | RepresentationType | OPTIONAL IfcLabel |
表示上下文类型的描述。表示类型定义了用于表示产品表示的几何或拓扑类型。更多信息在子类型 IfcShapeRepresentation 和 IfcTopologyRepresentation 中给出。 上下文类型支持的值应由实施者协议规定。 |
| 4 | Items | SET [1:?] OF IfcRepresentationItem |
为此表示定义的一组几何表示项。 |
| RepresentationMap | SET [0:1] OF IfcRepresentationMap FOR MappedRepresentation |
在 IfcRepresentationMap 中使用此表示。如果使用,此 IfcRepresentation 可以作为其 Items 之一,通过 IfcMappedItem 分配给多个表示。使用 IfcRepresentationMap 是多个产品共享一个表示(通常为 IfcShapeRepresentation 类型)的方式。 |
|
| LayerAssignments | SET [0:?] OF IfcPresentationLayerAssignment FOR AssignedItems |
将整个表示分配给单个或多个图层。LayerAssignments 可以被 Items 列表中的 IfcRepresentationItem 的 LayerAssigments 覆盖。 |
|
| OfProductRepresentation | SET [0:?] OF IfcProductRepresentation FOR Representations |
引用此单独表示所适用的产品表示。在大多数情况下,它引用一个或多个产品形状,此形状表示适用于这些产品形状。 |
|
8.18.3.12.4 形式化表示(Formal representation)
ENTITY IfcRepresentation
ABSTRACT SUPERTYPE OF (ONEOF
(IfcShapeModel
,IfcStyleModel));
ContextOfItems : IfcRepresentationContext;
RepresentationIdentifier : OPTIONAL IfcLabel;
RepresentationType : OPTIONAL IfcLabel;
Items : SET [1:?] OF IfcRepresentationItem;
INVERSE
RepresentationMap : SET [0:1] OF IfcRepresentationMap FOR MappedRepresentation;
LayerAssignments : SET [0:?] OF IfcPresentationLayerAssignment FOR AssignedItems;
OfProductRepresentation : SET [0:?] OF IfcProductRepresentation FOR Representations;
END_ENTITY;