BHoM / BHoM/BHoM_Engine

BHoM_Engine: refactor numerical approximation methods to use a new `NumericalApproximationConfig` input

Open
#3,263 0 comments 0 reactions 1 assignee Claimed by @alelom View on GitHub
type:feature
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

#### Description:

By introducing a new `NumericalApproximationConfig` class (see https://github.com/BHoM/BHoM/issues/1591) we can improve clarity on the usage of BHoM_Engine methods for numerical approximation that currently take a BaseComparisonConfig as an input, but only use its numerical approximation properties (e.g. [`NumericalApproximation()`](https://github.com/BHoM/BHoM_Engine/blob/86f447c44bbbf642db2f6bf8378d052e4ebee1f6/BHoM_Engine/Query/NumericalApproximation.cs#L49-L54)).

These can be refactored to take as input this new `NumericalApproximationConfig` instead, making them more flexible and reusable in different contexts.

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.