Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

type:bugError or unexpected behaviour

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions