30#include "MeshKernel/Definitions.hpp"
31#include "MeshKernel/Parameters.hpp"
32#include "MeshKernel/SampleInterpolator.hpp"
34#include "MeshKernelApi/GeometryList.hpp"
35#include "MeshKernelApi/PropertyCalculator.hpp"
48 const int propertyId);
63 std::unique_ptr<meshkernel::SampleInterpolator> m_sampleInterpolator;
69 int m_propertyId = -1;
Interpolate the depths at the mesh node points.
Definition InterpolatedSamplePropertyCalculator.hpp:42
void Calculate(const MeshKernelState &state, const meshkernel::Location location, const GeometryList &geometryList) const override
Calculate the edge-length for a mesh.
bool IsValid(const MeshKernelState &state, const meshkernel::Location location) const override
Determine is the calculator can interpolate depth values correctly.
InterpolatedSamplePropertyCalculator(const GeometryList &sampleData, const meshkernel::Projection projection, const meshkernel::InterpolationParameters &interpolationParameters, const int propertyId)
Constructor.
int Size(const MeshKernelState &state, const meshkernel::Location location) const override
Determine the size of the edge-length vector required.
Base class for calculating properties for a mesh.
Definition PropertyCalculator.hpp:44
Projection
Enumerator describing the supported projections.
Definition Definitions.hpp:43
Location
Mesh locations enumeration.
Definition Definitions.hpp:76
Contains all structs and functions exposed at the API level.
Definition BoundingBox.hpp:33
Parameters used by the sample interpolation.
Definition Parameters.hpp:270
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