Skip to content

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

@IsakNaslundBh

Description

@IsakNaslundBh

Description:

As pointed out by @pawelbaran here #3536 (comment)

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):

Metadata

Metadata

Labels

type:bugError or unexpected behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions