Revision 3811e436d20487a95a0429f329916be9e3cf4042 authored by Dmitry Yu. Naumov on 15 August 2021, 16:31:34 UTC, committed by Dmitry Yu. Naumov on 15 August 2021, 16:31:34 UTC
detail error message for unknown element See merge request ogs/ogs!3739
ISpatialFunction.h
/**
* \author Norihiro Watanabe
* \date 2013-08-13
*
* \file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#pragma once
#include <vector>
#include "MathLib/Point3d.h"
namespace NumLib
{
/**
* \brief Interface class for any functions of spatial coordinates
* \f$f(x,y,z)\f$
*/
class ISpatialFunction
{
public:
virtual ~ISpatialFunction() = default;
/**
* return a value at the given point
* \param pnt a point object
* \return evaluated value
*/
virtual double operator()(const MathLib::Point3d& pnt) const = 0;
};
} // namespace NumLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...