IfcTextLiteralWithExtent

带范围的文本文本是具有平面范围的附加显式信息的文本文本文本。对齐属性定义文本框如何与位置对齐,以及如果需要添加额外的文本行,它将如何展开。

图显示了使用平面范围和框对齐来定位文本字符串

图-带范围和对齐的文本文本文本

平面范围定义放置文本的框模型。填充可能是在文本样式中定义的,它将文本从框中偏移到其内部。


注:实体改编自ISO10303-46中定义的文本_字面量

IFC2x2中增加的新实体。

IFC2x3更改通过添加BoxAlignment更改了IfcTextLiteralWithExtent。

Formal Propositions

RuleDescription
WR31 The subtype of IfcPlanarExtent, IfcPlanarBox, should not be used to represent an Extent for the text literal.
 

#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
IfcTextLiteral
1 Literal IfcPresentableText [1:1] The text literal to be presented. X
2 Placement IfcAxis2Placement [1:1] An IfcAxis2Placement that determines the placement and orientation of the presented string. X
3 Path IfcTextPath [1:1] The writing direction of the text literal. X
IfcTextLiteralWithExtent
4 Extent IfcPlanarExtent [1:1] The extent in the x and y direction of the text literal. X
5 BoxAlignment IfcBoxAlignment [1:1] The alignment of the text literal relative to its position. X
 

EXPRESS Specification

ENTITY IfcTextLiteralWithExtent
 SUBTYPE OF (IfcTextLiteral);
  Extent : IfcPlanarExtent;
  BoxAlignment : IfcBoxAlignment;
 WHERE
  WR31 : NOT('IFCPRESENTATIONDEFINITIONRESOURCE.IFCPLANARBOX' IN TYPEOF(Extent));
END_ENTITY;
QQ 3087438119
原文地址:https://www.cnblogs.com/herd/p/13970859.html