Revision a7508d55a0cb5a0d7aca9b095437b53546944483 authored by Wenqing Wang on 02 June 2021, 09:45:01 UTC, committed by Dmitry Yu. Naumov on 02 June 2021, 14:32:27 UTC
1 parent 7b69a4a
Raw File
CreatePiecewiseLinearCurve.h
/**
 * \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
 *
 * \file
 *
 * Created on November 11, 2016, 10:49 AM
 */

#pragma once

#include <memory>

namespace BaseLib
{
class ConfigTree;
}

namespace MathLib
{
///  Create a curve
/// \param config   ConfigTree object has a tag of `<curve>`
template <typename CurveType>
std::unique_ptr<CurveType> createPiecewiseLinearCurve(
    BaseLib::ConfigTree const& config);
};

#include "CreatePiecewiseLinearCurve-impl.h"
back to top