``GEM111`` No duplicated points within a polyloop or polyline - v1 ======================================================================================================================================================================================================== .. parsed-literal:: 001 | \@implementer-agreement 002 | \@GEM 003 | \@version1 004 | Feature: GEM111 - No duplicated points within a polyloop or polyline 005 | The rule verifies, that all the polyloops and polylines will have no duplicate points, unless it's the first and last point of a closed polyline. 006 | In that case, it must be identical by reference (referencing the same instance), not just having the same coordinates. 007 | Two points are considered to be duplicates if the distance between them is less than 008 | the Precision factor of the applicable geometric context. 009 | 010 | Scenario: Agreement on no duplicated points within a polyloop 011 | 012 | :doc:`Given An .IfcPolyLoop. ` 013 | :doc:`Then It must have no duplicate points including first and last point ` 014 | 015 | Scenario: Agreement on no duplicated points within a polyline 016 | 017 | :doc:`Given An .IfcPolyLine. ` 018 | :doc:`Given It forms an open curve ` 019 | 020 | :doc:`Then It must have no duplicate points including first and last point ` 021 | 022 | Scenario: Agreement on no duplicated points within a polyline 023 | 024 | :doc:`Given An .IfcPolyLine. ` 025 | :doc:`Given It forms a closed curve ` 026 | 027 | :doc:`Then It must have no duplicate points excluding first and last point ` 028 | 029 | Scenario: Agreement on first and last point of IfcPolyline being identical by reference (referencing the same instance of IfcCartesianPoint) 030 | 031 | :doc:`Given An .IfcPolyline. ` 032 | :doc:`Given It forms a closed curve ` 033 | 034 | :doc:`Then Its first and last point must be identical by reference ` .. rubric:: Version history .. list-table:: :header-rows: 1 * - Version - Tag - Date - Commit - Rule link * - v1 - :tag:`v0.6.6` - 2023-02-01 - :commit:`5b518b1cea31db8677b171eb41e68cb33403489d` - `view `_