34#include "MeshKernel/Definitions.hpp"
35#include "MeshKernel/Mesh.hpp"
36#include "MeshKernel/Point.hpp"
38namespace meshkernel::algo
41 std::vector<Point> ComputeFaceCircumcenters(
const Mesh& mesh);
44 void ComputeFaceCircumcenters(
const Mesh& mesh, std::span<Point> faceCenters);
47 Point CircumcenterOfTriangle(
const Point& firstNode,
const Point& secondNode,
const Point& thirdNode,
const Projection projection);
50 Point ComputeFaceCircumenter(std::vector<Point>& polygon,
51 const std::vector<UInt>& edgesNumFaces,
55 Point ComputeCircumCenter(
const Point& centerOfMass,
56 const UInt pointCount,
57 const std::array<Point, constants::geometric::maximumNumberOfNodesPerFace>& middlePoints,
58 const std::array<Point, constants::geometric::maximumNumberOfNodesPerFace>& normals,
Projection
Enumerator describing the supported projections.
Definition Definitions.hpp:43
std::uint32_t UInt
Integer type used when indexing mesh graph entities.
Definition Definitions.hpp:39