Loading [MathJax]/extensions/tex2jax.js
MeshKernel
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages Concepts
Public Member Functions | List of all members
meshkernelapi::InterpolatedSamplePropertyCalculator Class Reference

Interpolate the depths at the mesh node points. More...

#include <PropertyCalculator.hpp>

Inheritance diagram for meshkernelapi::InterpolatedSamplePropertyCalculator:
meshkernelapi::PropertyCalculator

Public Member Functions

 InterpolatedSamplePropertyCalculator (const GeometryList &sampleData, const meshkernel::Projection projection, const int interpolationType, const int propertyId)
 Constructor.
 
bool IsValid (const MeshKernelState &state, const meshkernel::Location location) const override
 Determine is the calculator can interpolate depth values correctly.
 
void Calculate (const MeshKernelState &state, const meshkernel::Location location, const GeometryList &geometryList) const override
 Calculate the edge-length for a mesh.
 
int Size (const MeshKernelState &state, const meshkernel::Location location) const override
 Determine the size of the edge-length vector required.
 
- Public Member Functions inherited from meshkernelapi::PropertyCalculator
virtual ~PropertyCalculator ()=default
 Destructor.
 

Detailed Description

Interpolate the depths at the mesh node points.

Member Function Documentation

◆ Calculate()

void meshkernelapi::InterpolatedSamplePropertyCalculator::Calculate ( const MeshKernelState state,
const meshkernel::Location  location,
const GeometryList geometryList 
) const
overridevirtual

Calculate the edge-length for a mesh.

Note
This calculator is for mesh edges only

Implements meshkernelapi::PropertyCalculator.

◆ IsValid()

bool meshkernelapi::InterpolatedSamplePropertyCalculator::IsValid ( const MeshKernelState state,
const meshkernel::Location  location 
) const
overridevirtual

Determine is the calculator can interpolate depth values correctly.

Implements meshkernelapi::PropertyCalculator.

◆ Size()

int meshkernelapi::InterpolatedSamplePropertyCalculator::Size ( const MeshKernelState state,
const meshkernel::Location  location 
) const
overridevirtual

Determine the size of the edge-length vector required.

Implements meshkernelapi::PropertyCalculator.


The documentation for this class was generated from the following file: