Revision fa266c8f232c18f52ab070d83d3ae3798174aa2e authored by Lars Bilke on 03 April 2023, 10:50:40 UTC, committed by Lars Bilke on 03 April 2023, 10:50:40 UTC
Introducing reproducable builds with guix

See merge request ogs/ogs!4550
2 parent s 0e08dbd + de86055
Raw File
Utils.h
/**
 * \file
 *
 * \copyright
 * Copyright (c) 2012-2023, 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 "GeoLib/Point.h"

namespace GeoLib
{
/// Function generates equidistant points in the interval [begin, end]
/// according to the given number of subdivisions.
/// In case of zero subdivisions a vector containing the begin and the end point
/// is returned.
std::vector<GeoLib::Point*> generateEquidistantPoints(
    MathLib::Point3d const& begin, MathLib::Point3d const& end,
    int const number_of_subdivisions);
}  // namespace GeoLib
back to top