Revision c93ae2882e131b123bc3442f981b7b9034046fac authored by Thomas Fischer on 09 December 2022, 12:37:59 UTC, committed by Dmitry Yu. Naumov on 15 December 2022, 18:03:05 UTC
1 parent 376112b
Utils.h
/**
* \file
*
* \copyright
* Copyright (c) 2012-2022, 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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...