``GEM011`` Curve segments consistency - v2 ======================================================================================================================================================================================================== .. parsed-literal:: 001 | \@implementer-agreement 002 | \@GEM 003 | \@version2 004 | 005 | Feature: GEM011 - Curve segments consistency 006 | 007 | The rule verifies that the same entity type is used for all segments 008 | and that IfcCurveSegment is used with IfcSegmentedReferenceCurve and IfcGradientCurve 009 | The rule is identical to ALS011, except that it does not require the presence of an IfcAlignment. 010 | 011 | 012 | Background: 013 | :doc:`Given a model with Schema 'IFC4.3' ` 014 | :doc:`Given an .IfcProduct. ` 015 | :doc:`Given [its entity type] ^is not^ 'IfcAlignment' ` 016 | :doc:`Given its attribute .Representation. ` 017 | :doc:`Given its attribute .Representations. ` 018 | :doc:`Given its attribute .Items. ` 019 | 020 | 021 | Scenario Outline: Consistent entity types used 022 | 023 | :doc:`Given [its entity type] ^is^ '\' ` 024 | :doc:`Given its attribute .Segments. ` 025 | :doc:`Given its entity type ` 026 | 027 | :doc:`Then The values must be identical at depth 3 ` 028 | 029 | Examples: 030 | | entity | 031 | | IfcCompositeCurve | 032 | | IfcGradientCurve | 033 | | IfcSegmentedReferenceCurve | 034 | 035 | 036 | Scenario Outline: IfcCurveSegment used for IfcSegmentedReferenceCurve and IfcGradientCurve 037 | 038 | :doc:`Given [its entity type] ^is^ '\' ` 039 | :doc:`Given its attribute .Segments. ` 040 | :doc:`Given its entity type ` 041 | 042 | :doc:`Then The value must be 'IfcCurveSegment' ` 043 | 044 | Examples: 045 | | entity | 046 | | IfcGradientCurve | 047 | | IfcSegmentedReferenceCurve | .. rubric:: Version history .. list-table:: :header-rows: 1 * - Version - Tag - Date - Commit - Rule link * - v1 - :tag:`v0.6.6` - 2024-06-21 - :commit:`1cd01e0f7c5bf83ecffac0220621353247e8f069` - n/a * - v2 - :tag:`v0.8.3` - 2025-12-04 - :commit:`d7fcd8502e8e1cb922bb2f3e29013eadc0b6f02e` - `view `_