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

Go to the source code of this file.

Functions

MRC_API MR_expected_MR_Mesh_std_stringMR_delaunayTriangulationXY_std_vector_MR_Vector3f (MR_PassBy points_pass_by, MR_std_vector_MR_Vector3f *points, const MR_std_function_bool_from_float *cb)
MRC_API MR_expected_MR_Mesh_std_stringMR_delaunayTriangulationXY_const_MR_PointCloud_ref (const MR_PointCloud *cloud, const MR_std_function_bool_from_float *cb)
MRC_API MR_expected_MR_Mesh_std_stringMR_delaunayTriangulationXY_MR_PointCloud_rvalue_ref (MR_PointCloud *cloud, const MR_std_function_bool_from_float *cb)

Function Documentation

◆ MR_delaunayTriangulationXY_const_MR_PointCloud_ref()

MRC_API MR_expected_MR_Mesh_std_string * MR_delaunayTriangulationXY_const_MR_PointCloud_ref ( const MR_PointCloud * cloud,
const MR_std_function_bool_from_float * cb )

Creates Delaunay triangulation of valid points of the cloud projected on XY plane, vertex ids in the resulting mesh are the same as in the cloud (invalid points become invalid vertices) Generated from function MR::delaunayTriangulationXY. Parameter cloud can not be null. It is a single object. Parameter cb is a single object. Parameter cb has a default argument: {}, pass 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.

◆ MR_delaunayTriangulationXY_MR_PointCloud_rvalue_ref()

MRC_API MR_expected_MR_Mesh_std_string * MR_delaunayTriangulationXY_MR_PointCloud_rvalue_ref ( MR_PointCloud * cloud,
const MR_std_function_bool_from_float * cb )

same as above, but moves cloud points into the resulting mesh instead of copying them Generated from function MR::delaunayTriangulationXY. Parameter cloud can not be null. It is a single object. In C++ this parameter takes an rvalue reference: it might invalidate the passed object, but if your pointer is owning, you must still destroy it manually later. Parameter cb is a single object. Parameter cb has a default argument: {}, pass 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.

◆ MR_delaunayTriangulationXY_std_vector_MR_Vector3f()

MRC_API MR_expected_MR_Mesh_std_string * MR_delaunayTriangulationXY_std_vector_MR_Vector3f ( MR_PassBy points_pass_by,
MR_std_vector_MR_Vector3f * points,
const MR_std_function_bool_from_float * cb )

Creates Delaunay triangulation of given points projected on XY plane, the vertices of the resulting mesh have the original 3D coordinates and the same ids as the input points; points will be moved inside this function, so the argument is taken by value Generated from function MR::delaunayTriangulationXY. Parameter cb is a single object. Parameter cb has a default argument: {}, pass 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.