Geometry_Engine: GetLineSegment should return null instead of an invalid line in case of failure
Open
type:bug
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
#### Description:
As pointed out by @pawelbaran here https://github.com/BHoM/BHoM_Engine/pull/3536#discussion_r2300368311
The GetLineSegment method currently returns a new Line() if it fails to find anything. SHould most likely return a null instead.
#### Steps to reproduce:
#### Expected behaviour:
#### Test file(s):
Contributor guide
Assessment
This issue has not been assessed yet.