8.8.3.29 IfcRectangularPyramid(矩形棱锥)
8.8.3.29.1 语义定义(Semantic definition)
IfcRectangularPyramid 是一种构造实体几何(CSG)三维图元。它是一个具有矩形底面和顶点(称为顶点)的实体,从底面逐渐向上收缩至顶点。从底面中心到顶点的轴线垂直于底面。继承的 Position 属性定义了 IfcAxis2Placement3D,并提供了棱锥的位置和方向:
- SELF\IfcCsgPrimitive3D.Position:图元坐标系的位置和方向。
- SELF\IfcCsgPrimitive3D.Position.Location:作为圆锥体底面的圆形区域中心。
- SELF\IfcCsgPrimitive3D.Position.Position[3]:继承的放置坐标系的 z 轴提供了 IfcRightCircularCone 的中心轴,顶点位于 z 轴正方向上的 Height 值处。BottomRadius 定义了放置坐标系 xy 平面上的圆形底面。
如图 8.8.3.29.A 所示,棱锥位于其自身的放置坐标系中。原点是位于 XY 平面内的底面矩形中心。顶点位于正 z 轴上的 [0, 0, Height] 处。

纹理使用定义
在每个三角形侧面上,纹理朝上对齐。根据 RepeatS,纹理在每个面的底部范围内拉伸或重复。根据 RepeatT,纹理朝向顶点拉伸或重复,如果 RepeatT 为 False,则顶点的坐标为 (0.5,1.0)。
在底面上,纹理朝前向后对齐。
图 8.8.3.29.B 展示了使用固定纹理(RepeatS=False 且 RepeatT=False)的默认纹理映射。左侧图像显示纹理,其中 S 轴指向右侧,T 轴指向上方。右侧图像显示应用于几何体的纹理,其中 X 轴指向后方右侧,Y 轴指向后方左侧,Z 轴指向上方。

| 面 | 法向量 | 原点 X | 原点 Y | 原点 Z | S 轴 | T 轴 |
|---|---|---|---|---|---|---|
| 左侧 | -X | 0 | +YLength | 0 | -Y | (朝向顶点) |
| 右侧 | +X | +Xlength | 0 | 0 | +Y | (朝向顶点) |
| 前侧 | -Y | 0 | 0 | 0 | +X | (朝向顶点) |
| 后侧 | +Y | +XLength | +YLength | 0 | -X | (朝向顶点) |
| 底面 | -Z | +XLength | 0 | 0 | -X | +Y |
8.8.3.29.2 实体继承(Entity inheritance)
-
- IfcCsgPrimitive3D
- IfcAnnotationFillArea
- IfcBooleanResult
- IfcBoundingBox
- IfcCartesianPointList
- IfcCartesianTransformationOperator
- IfcCurve
- IfcDirection
- IfcFaceBasedSurfaceModel
- IfcFillAreaStyleHatching
- IfcFillAreaStyleTiles
- IfcGeometricSet
- IfcHalfSpaceSolid
- IfcLightSource
- IfcPlacement
- IfcPlanarExtent
- IfcPoint
- IfcSectionedSpine
- IfcSegment
- IfcShellBasedSurfaceModel
- IfcSolidModel
- IfcSurface
- IfcTessellatedItem
- IfcTextLiteral
- IfcVector
8.8.3.29.3 特性(Attributes)
| # | 特性(Attributes) | 类型 | 描述 |
|---|---|---|---|
| IfcRepresentationItem (2) | |||
| LayerAssignment | SET [0:1] OF IfcPresentationLayerAssignment FOR AssignedItems |
将表示项分配给单个或多个层。LayerAssignments 可以覆盖其所在的 IfcRepresentation 的 Items 列表中的 LayerAssignments。 |
|
| StyledByItem | SET [0:1] OF IfcStyledItem FOR Item |
引用为表示提供表现信息的 IfcStyledItem,例如,为几何曲线提供曲线样式,包括颜色和厚度。 |
|
| IfcCsgPrimitive3D (2) | |||
| 1 | Position | IfcAxis2Placement3D |
各个CSG基本体参数所适用的放置坐标系。 |
| * | Dim | IfcDimensionCount |
此属性是形式化派生的
此几何表示项的空间维度,始终为3。 |
| 点击显示 4 个隐藏的继承特性 点击隐藏 4 个继承特性 | |||
| IfcRectangularPyramid (3) | |||
| 2 | XLength | IfcPositiveLengthMeasure |
沿放置 X 轴测量的底面长度。通过继承的轴放置 SELF\IfcCsgPrimitive3D.Position.P[1] 提供。 |
| 3 | YLength | IfcPositiveLengthMeasure |
沿放置 Y 轴测量的底面长度。通过继承的轴放置 SELF\IfcCsgPrimitive3D.Position.P[2] 提供。 |
| 4 | Height | IfcPositiveLengthMeasure |
顶点在底面上方的高度,沿放置 Z 轴方向测量,即 SELF\IfcCsgPrimitive3D.Position.P[2]。 |
8.8.3.29.4 形式化表示(Formal representation)
ENTITY IfcRectangularPyramid
SUBTYPE OF (IfcCsgPrimitive3D);
XLength : IfcPositiveLengthMeasure;
YLength : IfcPositiveLengthMeasure;
Height : IfcPositiveLengthMeasure;
END_ENTITY;