MeshLib C Docs
Loading...
Searching...
No Matches
MRTerrainTriangulation.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
 

Functions

MRC_API MR_expected_MR_Mesh_std_stringMR_terrainTriangulation (MR_PassBy points_pass_by, MR_std_vector_MR_Vector3f *points, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 

Typedef Documentation

◆ MR_expected_MR_Mesh_std_string

◆ MR_std_function_bool_from_float

◆ MR_std_vector_MR_Vector3f

Function Documentation

◆ MR_terrainTriangulation()

MRC_API MR_expected_MR_Mesh_std_string * MR_terrainTriangulation ( MR_PassBy points_pass_by,
MR_std_vector_MR_Vector3f * points,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Creates Delaunay triangulation using only XY components of points points will be changed inside this function take argument by value Generated from function MR::terrainTriangulation. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.