MeshLib C Docs
Loading...
Searching...
No Matches
MRGeodesicPath.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRId.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
13typedef struct MR_MeshTriPoint MR_MeshTriPoint; // Defined in `#include <MRCMesh/MRMeshTriPoint.h>`.
14typedef struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint; // Defined in `#include <MRCMisc/std_vector_MR_EdgePoint.h>`.
15typedef struct MR_std_vector_MR_Vector2f MR_std_vector_MR_Vector2f; // Defined in `#include <MRCMisc/std_vector_MR_Vector2f.h>`.
16
17
30
39MRC_API int MR_reducePath(const MR_Mesh *mesh, const MR_MeshTriPoint *start, MR_std_vector_MR_EdgePoint *path, const MR_MeshTriPoint *end, const int *maxIter);
40
41#ifdef __cplusplus
42} // extern "C"
43#endif
struct MR_MeshTriPoint MR_MeshTriPoint
Definition MRAggregateFlow.h:13
struct MR_std_vector_MR_Vector2f MR_std_vector_MR_Vector2f
Definition MRContour.h:11
struct MR_Mesh MR_Mesh
Definition MRCtm.h:12
struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint
Definition MREdgePaths.h:27
MRC_API int MR_reducePath(const MR_Mesh *mesh, const MR_MeshTriPoint *start, MR_std_vector_MR_EdgePoint *path, const MR_MeshTriPoint *end, const int *maxIter)
MRC_API bool MR_reducePathViaVertex(const MR_Mesh *mesh, const MR_MeshTriPoint *start, MR_VertId v, const MR_MeshTriPoint *end, MR_std_vector_MR_EdgePoint *outPath, MR_std_vector_MR_Vector2f *tmp, MR_std_vector_MR_EdgePoint *cachePath)
#define MRC_API
Definition exports.h:11
Definition MRId.h:55