30#include "MeshKernel/Definitions.hpp"
31#include "MeshKernel/Parameters.hpp"
32#include "MeshKernel/SampleInterpolator.hpp"
34#include "MeshKernelApi/GeometryList.hpp"
40 struct MeshKernelState;
Base class for calculating properties for a mesh.
Definition PropertyCalculator.hpp:44
virtual bool IsValid(const MeshKernelState &state, const meshkernel::Location location) const =0
Determine is the calculator can compute the desired results correctly.
virtual int Size(const MeshKernelState &state, const meshkernel::Location location) const =0
Determine the size of the vector required to store the calculated properties.
virtual ~PropertyCalculator()=default
Destructor.
virtual void Calculate(const MeshKernelState &state, const meshkernel::Location location, const GeometryList &geometryList) const =0
Calculate the property.
Location
Mesh locations enumeration.
Definition Definitions.hpp:76
Contains all structs and functions exposed at the API level.
Definition BoundingBox.hpp:33
A struct used to describe a list of geometries in a C-compatible manner.
Definition GeometryList.hpp:34
The class holding the state of the C API library.
Definition State.hpp:58