MeshLib Documentation
Loading...
Searching...
No Matches
MRTerrainTriangulation.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRMesh.h"
5#include "MRExpected.h"
6
7namespace MR
8{
9
10// Creates Delaunay triangulation using only XY components of points
11// points will be changed inside this function take argument by value
12[[nodiscard]] MRMESH_API Expected<Mesh> terrainTriangulation( std::vector<Vector3f> points, ProgressCallback cb = {} );
13
14}
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRMESH_API Expected< Mesh > terrainTriangulation(std::vector< Vector3f > points, ProgressCallback cb={})