<!-- PLEASE ENSURE YOU REVIEW THE CONTENT OF EACH ISSUE CAREFULLY, INCLUDING SUBSEQUENT COMMENTS BY YOURSELF OR OTHERS. --> <!-- IN PARTICULAR PLEASE ENSURE THAT SENSITIVE OR INAPPROPRIATE INFORMATION IS NOT UPLOADED --> #### Description: <!-- Describe your issue here --> `PolyCurve.DiscontinuityPoints()` does not work when `PolyCurve.IsClosed() == false`. #### Steps to reproduce: <!-- Please tell us how to reproduce this issue --> Test file #### Expected behaviour: <!-- What result would you expect from the fix? --> Current method uses `EndPoint` which defaults to the fallback method, needs to use `IEndPoint`. #### Test file(s): <!-- Link to test files to help reproduce the bug and validate the proposed fixes --> https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/BHoM_Engine/Geometry_Engine/%233365-DiscontinuityPointsForPolyCurve.gh?csf=1&web=1&e=g5pYK0