BHoM / BHoM/BHoM_Engine

Geometry_Engine: NurbsCurve.Bounds() and NurbsSurface.Bounds() are not correct

Open
#1,097 1 comment 0 reactions 2 assignees Claimed by @albinber View on GitHub
type:bug
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

#### Description:

Both `NurbsCurve.Bounds()` and `NurbsSurface.Bounds()` return the `BoundingBox` of their `ControlPoints`, which is mathematically incorrect.

#### Expected behaviour:

They should return the bounds of the geometrical surface __derived__ from the entire definition.

#### Test file(s):

https://burohappold.sharepoint.com/sites/BHoM/02_Current/Forms/AllItems.aspx?cid=f6dadd0a%2D62c2%2D4b4c%2Db34a%2Dde04cba91cbe&FolderCTID=0x0120008122C8891F89054B8ACED0196C70DFC4&id=%2Fsites%2FBHoM%2F02%5FCurrent%2F12%5FScripts%2F01%5FTest%20Scripts%2FBHoM%5FEngine%2FGeometry%5FEngine%2FGeometry%5FEngine%2DIssue1095%2DReImplementUVCountAndDegrees

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.