Geometry_Engine: null checks for methods with default result
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
There are methods for which some types of input are more of less not applicable. (i.e. `Area(Line)`, `DiscontinuityPoints(Circle)`). Those method always return default results like empty list or value `0`.
It follows that even if they receive a null input they still return some result without logging any error.
Maybe it's worth adding some null check to help detecting errors.
Examples:


@pawelbaran @IsakNaslundBh @al-fisher @FraserGreenroyd
Contributor guide
Research direction
Start by locating the Geometry_Engine methods represented by Area(Line) and DiscontinuityPoints(Circle), then inspect how null inputs currently produce default results. Determine the intended null-check and error-logging behavior for these methods, and verify that applicable inputs still return their existing results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100