IFC 4.3.2.20251031 (IFC4X3_ADD2) under development

8.9.3.2 IfcAxis2Placement2D(二维轴定位)

RV ⓘ
AbV ⓘ

8.9.3.2.1 语义定义(Semantic definition)

IfcAxis2Placement2D 提供了在二维空间中放置项目的位置和方向。属性 RefDirection 定义了x轴,y轴是派生得到的。如果未给出属性 RefDirection,则放置默认为P[1](x轴)为[1.,0.],P[2](y轴)为[0.,1.]。

axis2 placement 2D
图 8.9.3.2.A — 二维轴定位

图 8.9.3.2.A 说明了 IfcAxis2Placement2D 在二维坐标系中的定义。

8.9.3.2.2 实体继承(Entity inheritance)

8.9.3.2.3 特性(Attributes)

# 特性(Attributes) 类型 描述
IfcRepresentationItem (2)
LayerAssignment SET [0:1] OF IfcPresentationLayerAssignment FOR AssignedItems

将表示项分配给单个或多个层。LayerAssignments 可以覆盖其所在的 IfcRepresentationItems 列表中的 LayerAssignments

StyledByItem SET [0:1] OF IfcStyledItem FOR Item

引用为表示提供表现信息的 IfcStyledItem,例如,为几何曲线提供曲线样式,包括颜色和厚度。

IfcPlacement (2)
1 Location IfcPoint

参考点(如圆心)的几何位置,用于确定待定位项目的位置。

* Dim IfcDimensionCount

此属性是形式化派生的

Location.Dim

该类的空间维度,由位置坐标的维度推导得出。

点击显示 4 个隐藏的继承特性 点击隐藏 4 个继承特性
IfcAxis2Placement2D (2)
2 RefDirection OPTIONAL IfcDirection

用于确定局部X轴方向的方向。如果省略该值,则默认为[1.0, 0.0.]。

* P LIST [2:2] OF IfcDirection

此属性是形式化派生的

IfcBuild2Axes(RefDirection)

P[1]:放置X轴的归一化方向。如果省略 RefDirection,则为[1.0,0.0]。 P[2]:放置Y轴的归一化方向。这是一个派生属性,与P[1]正交。如果省略 RefDirection,则默认为[0.0,1.0]。

表 8.9.3.2.B

8.9.3.2.4 形式化命题(Formal propositions)

名称 描述
LocationIs2D

无可用描述

SELF\IfcPlacement.Location.Dim = 2
LocationIsCP

无可用描述

'IFC4X3_DEV_62887e3f.IFCCARTESIANPOINT' IN TYPEOF(SELF\IfcPlacement.Location)
RefDirIs2D

无可用描述

(NOT (EXISTS (RefDirection))) OR (RefDirection.Dim = 2)
表 8.9.3.2.C

8.9.3.2.5 形式化表示(Formal representation)

ENTITY IfcAxis2Placement2D
 SUBTYPE OF (IfcPlacement);
	RefDirection : OPTIONAL IfcDirection;
 DERIVE
	 P : LIST [2:2] OF IfcDirection := IfcBuild2Axes(RefDirection);
 WHERE
	LocationIs2D : SELF\IfcPlacement.Location.Dim = 2;
	LocationIsCP : 'IFC4X3_DEV_62887e3f.IFCCARTESIANPOINT' IN TYPEOF(SELF\IfcPlacement.Location);
	RefDirIs2D : (NOT (EXISTS (RefDirection))) OR (RefDirection.Dim = 2);
END_ENTITY;