MeshLib C Docs
Loading...
Searching...
No Matches
MRConvexHull.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
11typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
12typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
13typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
14typedef struct MR_std_vector_MR_Vector2f MR_std_vector_MR_Vector2f; // Defined in `#include <MRCMisc/std_vector_MR_Vector2f.h>`.
15
16
17// computes the mesh of convex hull from given input points
23
28
33
34// computes the contour of convex hull from given input points
38
39#ifdef __cplusplus
40} // extern "C"
41#endif
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:22
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:15
struct MR_std_vector_MR_Vector2f MR_std_vector_MR_Vector2f
Definition MRContour.h:11
MRC_API MR_Mesh * MR_makeConvexHull_1_MR_Mesh(const MR_Mesh *in)
MRC_API MR_std_vector_MR_Vector2f * MR_makeConvexHull_1_std_vector_MR_Vector2f(MR_PassBy points_pass_by, MR_std_vector_MR_Vector2f *points)
MRC_API MR_Mesh * MR_makeConvexHull_2(const MR_VertCoords *points, const MR_VertBitSet *validPoints)
MRC_API MR_Mesh * MR_makeConvexHull_1_MR_PointCloud(const MR_PointCloud *in)
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:15
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11