BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 13 forks source link

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

Open alelom opened 7 months ago

alelom commented 7 months ago

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()).

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