ALB023 Alignment same segment types in business logic and geometry - v2

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 |   Given A model with Schema 'IFC4.3'
011 |
012 | Scenario: Validating the same geometry types for representation of the alignment
013 |   Given An .IfcAlignment.
014 |   Given Its attribute .Representation.
015 |   Given Its attribute .Representations.
016 |   Given Its attribute .Item.
017 |   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 |   Given An .IfcAlignmentHorizontal.
021 |   Given Its attribute .Representation.
022 |   Given Its attribute .Representations.
023 |   Given Its attribute .Items.
024 |   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 |   Given An .IfcAlignmentVertical.
028 |   Given Its attribute .Representation.
029 |   Given Its attribute .Representations.
030 |   Given Its attribute .Items.
031 |   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 |   Given An .IfcAlignmentCant.
035 |   Given Its attribute .Representation.
036 |   Given Its attribute .Representations.
037 |   Given Its attribute .Items.
038 |   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 |   Given An .IfcAlignmentSegment.
042 |   Given Its attribute .Representation.
043 |   Given Its attribute .Representations.
044 |   Given Its attribute .Items.
045 |   Then  Each segment must have the same geometry type as its corresponding alignment segment
046 |
047 |
048 |

Version history

Version

Tag

Date

Commit

Rule link

v1

v0.6.6

2024-04-10

73142c07

n/a

v2

v0.6.6

2024-06-21

e7816d59

n/a