MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshC/MRPointCloudTriangulation.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3
5
42
44
50
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
struct MRPointCloud MRPointCloud
Definition MRMeshC/MRMeshFwd.h:49
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRMesh MRMesh
Definition MRMeshC/MRMeshFwd.h:47
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
MRMESHC_API MRMesh * mrTriangulatePointCloud(const MRPointCloud *pointCloud, const MRTriangulationParameters *params)
Creates mesh from given point cloud according params Returns empty optional if was interrupted by pro...
MRMESHC_API MRTriangulationParameters mrTriangulationParametersNew(void)
MR_EXTERN_C_BEGIN struct MRTriangulationParameters MRTriangulationParameters
Parameters of point cloud triangulation.
Parameters of point cloud triangulation.
Definition MRMeshC/MRPointCloudTriangulation.h:10
float critHoleLength
Critical length of hole (all holes with length less then this value will be filled)
Definition MRMeshC/MRPointCloudTriangulation.h:34
float critAngle
Critical angle of triangles in local triangulation (angle between triangles in fan should be less the...
Definition MRMeshC/MRPointCloudTriangulation.h:26
int numNeighbours
The number of nearest neighbor points to use for building of local triangulation.
Definition MRMeshC/MRPointCloudTriangulation.h:16
const MRPointCloud * searchNeighbors
optional: if provided this cloud will be used for searching of neighbors (so it must have same validP...
Definition MRMeshC/MRPointCloudTriangulation.h:40
bool automaticRadiusIncrease
automatic increase of the radius if points outside can make triangles from original radius not-Delone
Definition MRMeshC/MRPointCloudTriangulation.h:37
float boundaryAngle
the vertex is considered as boundary if its neighbor ring has angle more than this value
Definition MRMeshC/MRPointCloudTriangulation.h:29
float radius
Definition MRMeshC/MRPointCloudTriangulation.h:22