ALB015 Alignment business logic zero length final segment - v2

001 | @implementer-agreement
002 | @ALB
003 | @version2
004 |
005 | Feature: ALB015 - Alignment business logic zero length final segment
006 |   The rule verifies that each layout (horizontal, vertical, cant) of the alignment business logic
007 |   ends with a segment of length = 0.
008 |
009 |   Scenario: Validating final segment of horizontal alignment business logic
010 |     Given A model with Schema 'IFC4.3'
011 |     Given An .IfcAlignmentHorizontal.
012 |     Given A relationship .IfcRelNests. from .IfcAlignmentHorizontal. to .IfcAlignmentSegment. and following that
013 |     Given Its final element at depth 1
014 |     Given Its attribute .DesignParameters.
015 |     Then The SegmentLength of the IfcAlignmentHorizontalSegment must be 0
016 |
017 |   Scenario: Validating final segment of vertical alignment business logic
018 |     Given A model with Schema 'IFC4.3'
019 |     Given An .IfcAlignmentVertical.
020 |     Given A relationship .IfcRelNests. from .IfcAlignmentHorizontal. to .IfcAlignmentSegment. and following that
021 |     Given Its final element at depth 1
022 |     Given Its attribute .DesignParameters.
023 |     Then The HorizontalLength of the IfcAlignmentVerticalSegment must be 0
024 |
025 |   Scenario: Validating final segment of cant alignment business logic
026 |     Given A model with Schema 'IFC4.3'
027 |     Given An .IfcAlignmentCant.
028 |     Given A relationship .IfcRelNests. from .IfcAlignmentCant. to .IfcAlignmentSegment. and following that
029 |     Given Its final element at depth 1
030 |     Given Its attribute .DesignParameters.
031 |     Then The HorizontalLength of the IfcAlignmentCantSegment must be 0

Version history

Version

Tag

Date

Commit

Rule link

v1

v0.6.6

2024-01-14

bbe4a154

view

v2

v0.6.6

2024-04-30

321a46cc

view