Line Index |
Item | SPF | XML | Change | Description | IFC4 Addendum 1 |
---|---|---|---|---|
IfcLineIndex | ADDED |
The IfcLineIndex describes a single or multiple straight segments within a poly curve by providing a list on indices. The first index is the start point of the line segment, the last index is the end point of the line segment. If more than two indices are included, then all intermediate indices define intermediate points of the poly line segment connected in the order of appearance of the list of indices.
NOTE The type is used for IfcIndexedPolyCurve to point into an IfcCartesianPointList for providing the Cartesian points of the straight segments of the poly curve.
HISTORY New Type in IFC4 ADD1
<xs:complexType name="IfcLineIndex">
<xs:simpleContent>
<xs:extension base="ifc:List-IfcLineIndex">
<xs:attribute ref="ifc:itemType" fixed="ifc:IfcPositiveInteger"/>
<xs:attribute ref="ifc:cType" fixed="list"/>
<xs:attribute ref="ifc:arraySize" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="List-IfcLineIndex">
<xs:restriction>
<xs:simpleType>
<xs:list itemType="ifc:IfcPositiveInteger"/>
</xs:simpleType>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
TYPE IfcLineIndex = LIST [2:?] OF IfcPositiveInteger;
END_TYPE;
References: IfcSegmentIndexSelect