BHoM / BHoM/Revit_Toolkit

`Query.Bounds` returns infinite bbox for empty point list

Open
#1,551 0 comments 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
C#
Stars
35
Forks
16
Avg merge
7d 29m
Merged PRs (30d)
2

Description

#### Description:

`Query.Bounds` should return null if points list is empty.

#### Steps to reproduce:

#### Expected behaviour:

#### Test file(s):

Contributor guide

Open the contributing guide

Research direction

Locate the implementation of Query.Bounds and the existing tests that cover bounds calculations. Reproduce the behavior with an empty point list, then verify that the result is null and that existing non-empty bounds behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.