``ALB023`` Alignment same segment types in business logic and geometry - v2 ======================================================================================================================================================================================================== .. parsed-literal:: 001 | \@implementer-agreement 002 | \@ALB 003 | \@version2 004 | 005 | Feature: ALB023 - Alignment same segment types in business logic and geometry 006 | The rule verifies that when an Alignment has both business logic and geometry (representation), 007 | the geometry type of each segments in the business logic must be the same as its corresponding segment in the representation. 008 | 009 | Background: Validating schema version 010 | :doc:`Given A model with Schema 'IFC4.3' ` 011 | 012 | Scenario: Validating the same geometry types for representation of the alignment 013 | :doc:`Given An .IfcAlignment. ` 014 | :doc:`Given Its attribute .Representation. ` 015 | :doc:`Given Its attribute .Representations. ` 016 | :doc:`Given Its attribute .Item. ` 017 | :doc:`Then Each segment must have the same geometry type as its corresponding segment in the applicable IfcAlignment layout ` 018 | 019 | Scenario: Validating the same geometry type for representation of the horizontal layout 020 | :doc:`Given An .IfcAlignmentHorizontal. ` 021 | :doc:`Given Its attribute .Representation. ` 022 | :doc:`Given Its attribute .Representations. ` 023 | :doc:`Given Its attribute .Items. ` 024 | :doc:`Then Each segment must have the same geometry type as its corresponding segment in the horizontal layout ` 025 | 026 | Scenario: Validating the same geometry type for representation of the vertical layout 027 | :doc:`Given An .IfcAlignmentVertical. ` 028 | :doc:`Given Its attribute .Representation. ` 029 | :doc:`Given Its attribute .Representations. ` 030 | :doc:`Given Its attribute .Items. ` 031 | :doc:`Then Each segment must have the same geometry type as its corresponding segment in the vertical layout ` 032 | 033 | Scenario: Validating the same geometry type for representation of the cant layout 034 | :doc:`Given An .IfcAlignmentCant. ` 035 | :doc:`Given Its attribute .Representation. ` 036 | :doc:`Given Its attribute .Representations. ` 037 | :doc:`Given Its attribute .Items. ` 038 | :doc:`Then Each segment must have the same geometry type as its corresponding segment in the cant layout ` 039 | 040 | Scenario: Validating the same geometry type for representation of the individual segments 041 | :doc:`Given An .IfcAlignmentSegment. ` 042 | :doc:`Given Its attribute .Representation. ` 043 | :doc:`Given Its attribute .Representations. ` 044 | :doc:`Given Its attribute .Items. ` 045 | :doc:`Then Each segment must have the same geometry type as its corresponding alignment segment ` 046 | 047 | 048 | .. rubric:: Version history .. list-table:: :header-rows: 1 * - Version - Tag - Date - Commit - Rule link * - v1 - :tag:`v0.6.6` - 2024-04-10 - :commit:`73142c07e2af2f94f26f15bb4176f2db6b83ab40` - n/a * - v2 - :tag:`v0.6.6` - 2024-06-21 - :commit:`e7816d59f4499ac8a806be07a5268de1cf086795` - n/a