BHoM / BHoM/BHoM_Engine

Geometry_Engine: GetLineSegment should return null instead of an invalid line in case of failure

Open
#3,541 0 comments 0 reactions 2 assignees Claimed by @pawelbaran View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.