MeshLib C Docs
Loading...
Searching...
No Matches
MREdgePaths.h File Reference
#include <MRCMesh/MRId.h>
#include <MRCMesh/MRVector3.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct MR_EdgeBitSet MR_EdgeBitSet
 
typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_MeshTopology MR_MeshTopology
 
typedef struct MR_MeshTriPoint MR_MeshTriPoint
 
typedef struct MR_Plane3f MR_Plane3f
 
typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
 
typedef struct MR_VertBitSet MR_VertBitSet
 
typedef struct MR_VertCoords MR_VertCoords
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_function_float_from_MR_EdgeId MR_std_function_float_from_MR_EdgeId
 
typedef struct MR_std_vector_MR_EdgeId MR_std_vector_MR_EdgeId
 
typedef struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint
 
typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
 
typedef struct MR_std_vector_MR_VertId MR_std_vector_MR_VertId
 
typedef struct MR_std_vector_std_vector_MR_EdgeId MR_std_vector_std_vector_MR_EdgeId
 
typedef struct MR_TerminalVertex MR_TerminalVertex
 

Functions

MRC_API bool MR_isEdgePath (const MR_MeshTopology *topology, const MR_std_vector_MR_EdgeId *edges)
 
MRC_API bool MR_isEdgeLoop (const MR_MeshTopology *topology, const MR_std_vector_MR_EdgeId *edges)
 
MRC_API MR_std_vector_std_vector_MR_EdgeIdMR_splitOnSimpleLoops (const MR_MeshTopology *topology, MR_std_vector_std_vector_MR_EdgeId *loops)
 
MRC_API void MR_reverse_std_vector_MR_EdgeId (MR_std_vector_MR_EdgeId *path)
 
MRC_API void MR_reverse_std_vector_std_vector_MR_EdgeId (MR_std_vector_std_vector_MR_EdgeId *paths)
 
MRC_API double MR_calcPathMetric (const MR_std_vector_MR_EdgeId *path, MR_PassBy metric_pass_by, MR_std_function_float_from_MR_EdgeId *metric)
 
MRC_API double MR_calcPathLength (const MR_std_vector_MR_EdgeId *path, const MR_Mesh *mesh)
 
MRC_API MR_Vector3d MR_calcOrientedArea (const MR_std_vector_MR_EdgeId *loop, const MR_Mesh *mesh)
 
MRC_API void MR_sortPathsByMetric (MR_std_vector_std_vector_MR_EdgeId *paths, MR_PassBy metric_pass_by, MR_std_function_float_from_MR_EdgeId *metric)
 
MRC_API void MR_sortPathsByLength (MR_std_vector_std_vector_MR_EdgeId *paths, const MR_Mesh *mesh)
 
MRC_API void MR_addLeftBand (const MR_MeshTopology *topology, const MR_std_vector_MR_EdgeId *loop, MR_FaceBitSet *addHere)
 
MRC_API const MR_VertIdMR_TerminalVertex_Get_v (const MR_TerminalVertex *_this)
 
MRC_API void MR_TerminalVertex_Set_v (MR_TerminalVertex *_this, MR_VertId value)
 
MRC_API MR_VertIdMR_TerminalVertex_GetMutable_v (MR_TerminalVertex *_this)
 
MRC_API const float * MR_TerminalVertex_Get_metric (const MR_TerminalVertex *_this)
 
MRC_API void MR_TerminalVertex_Set_metric (MR_TerminalVertex *_this, float value)
 
MRC_API float * MR_TerminalVertex_GetMutable_metric (MR_TerminalVertex *_this)
 
MRC_API MR_TerminalVertexMR_TerminalVertex_DefaultConstruct (void)
 
MRC_API MR_TerminalVertexMR_TerminalVertex_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_TerminalVertexMR_TerminalVertex_ConstructFrom (MR_VertId v, float metric)
 
MRC_API const MR_TerminalVertexMR_TerminalVertex_OffsetPtr (const MR_TerminalVertex *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API MR_TerminalVertexMR_TerminalVertex_OffsetMutablePtr (MR_TerminalVertex *ptr, ptrdiff_t i)
 Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
 
MRC_API MR_TerminalVertexMR_TerminalVertex_ConstructFromAnother (const MR_TerminalVertex *_other)
 
MRC_API void MR_TerminalVertex_Destroy (const MR_TerminalVertex *_this)
 Destroys a heap-allocated instance of MR_TerminalVertex. Does nothing if the pointer is null.
 
MRC_API void MR_TerminalVertex_DestroyArray (const MR_TerminalVertex *_this)
 Destroys a heap-allocated array of MR_TerminalVertex. Does nothing if the pointer is null.
 
MRC_API MR_TerminalVertexMR_TerminalVertex_AssignFromAnother (MR_TerminalVertex *_this, const MR_TerminalVertex *_other)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildShortestPath_MR_VertId (const MR_Mesh *mesh, MR_VertId start, MR_VertId finish, const float *maxPathLen)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildShortestPathBiDir_4 (const MR_Mesh *mesh, MR_VertId start, MR_VertId finish, const float *maxPathLen)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildShortestPathBiDir_6 (const MR_Mesh *mesh, const MR_MeshTriPoint *start, const MR_MeshTriPoint *finish, MR_VertId *outPathStart, MR_VertId *outPathFinish, const float *maxPathLen)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildShortestPathAStar_4 (const MR_Mesh *mesh, MR_VertId start, MR_VertId finish, const float *maxPathLen)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildShortestPathAStar_6 (const MR_Mesh *mesh, const MR_MeshTriPoint *start, const MR_MeshTriPoint *finish, MR_VertId *outPathStart, MR_VertId *outPathFinish, const float *maxPathLen)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildShortestPath_MR_VertBitSet (const MR_Mesh *mesh, MR_VertId start, const MR_VertBitSet *finish, const float *maxPathLen)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildSmallestMetricPath_const_MR_MeshTopology_ref_MR_VertId (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_VertId start, MR_VertId finish, const float *maxPathMetric)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildSmallestMetricPathBiDir_5 (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_VertId start, MR_VertId finish, const float *maxPathMetric)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildSmallestMetricPathBiDir_9 (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, const MR_TerminalVertex *starts, int32_t numStarts, const MR_TerminalVertex *finishes, int32_t numFinishes, MR_VertId *outPathStart, MR_VertId *outPathFinish, const float *maxPathMetric)
 
MRC_API MR_std_vector_MR_EdgeIdMR_buildSmallestMetricPath_const_MR_MeshTopology_ref_MR_VertBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_VertId start, const MR_VertBitSet *finish, const float *maxPathMetric)
 
MRC_API MR_std_vector_MR_VertIdMR_getVertexOrdering_MR_MeshTopology (const MR_MeshTopology *topology, MR_PassBy region_pass_by, MR_VertBitSet *region)
 
MRC_API MR_std_vector_std_vector_MR_EdgeIdMR_extractClosedLoops_2 (const MR_MeshTopology *topology, MR_EdgeBitSet *edges)
 
MRC_API MR_std_vector_std_vector_MR_EdgeIdMR_extractClosedLoops_3 (const MR_MeshTopology *topology, const MR_std_vector_MR_EdgeId *inEdges, MR_EdgeBitSet *outNotLoopEdges)
 
MRC_API MR_std_vector_MR_EdgeIdMR_extractLongestClosedLoop (const MR_Mesh *mesh, const MR_std_vector_MR_EdgeId *inEdges)
 
MRC_API bool MR_dilateRegionByMetric_MR_FaceBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_FaceBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegionByMetric_MR_VertBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_VertBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegionByMetric_MR_UndirectedEdgeBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_UndirectedEdgeBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegionByMetric_MR_FaceBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_FaceBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegionByMetric_MR_VertBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_VertBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegionByMetric_MR_UndirectedEdgeBitSet (const MR_MeshTopology *topology, const MR_std_function_float_from_MR_EdgeId *metric, MR_UndirectedEdgeBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegion_4_MR_FaceBitSet (const MR_Mesh *mesh, MR_FaceBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegion_4_MR_VertBitSet (const MR_Mesh *mesh, MR_VertBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegion_4_MR_UndirectedEdgeBitSet (const MR_Mesh *mesh, MR_UndirectedEdgeBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_FaceBitSet (const MR_MeshTopology *topology, const MR_VertCoords *points, MR_FaceBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_VertBitSet (const MR_MeshTopology *topology, const MR_VertCoords *points, MR_VertBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_UndirectedEdgeBitSet (const MR_MeshTopology *topology, const MR_VertCoords *points, MR_UndirectedEdgeBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegion_4_MR_FaceBitSet (const MR_Mesh *mesh, MR_FaceBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegion_4_MR_VertBitSet (const MR_Mesh *mesh, MR_VertBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegion_4_MR_UndirectedEdgeBitSet (const MR_Mesh *mesh, MR_UndirectedEdgeBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_FaceBitSet (const MR_MeshTopology *topology, const MR_VertCoords *points, MR_FaceBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_VertBitSet (const MR_MeshTopology *topology, const MR_VertCoords *points, MR_VertBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API bool MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_UndirectedEdgeBitSet (const MR_MeshTopology *topology, const MR_VertCoords *points, MR_UndirectedEdgeBitSet *region, float dilation, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
 
MRC_API int32_t MR_getPathPlaneIntersections (const MR_Mesh *mesh, const MR_std_vector_MR_EdgeId *path, const MR_Plane3f *plane, MR_std_vector_MR_EdgePoint *outIntersections)
 
MRC_API int32_t MR_getContourPlaneIntersections (const MR_std_vector_MR_Vector3f *path, const MR_Plane3f *plane, MR_std_vector_MR_Vector3f *outIntersections)
 
MRC_API int32_t MR_getPathEdgesInPlane (const MR_Mesh *mesh, const MR_std_vector_MR_EdgeId *path, const MR_Plane3f *plane, const float *tolerance, MR_std_vector_MR_EdgeId *outInPlaneEdges)
 

Typedef Documentation

◆ MR_EdgeBitSet

typedef struct MR_EdgeBitSet MR_EdgeBitSet

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_MeshTopology

◆ MR_MeshTriPoint

◆ MR_Plane3f

typedef struct MR_Plane3f MR_Plane3f

◆ MR_std_function_bool_from_float

◆ MR_std_function_float_from_MR_EdgeId

◆ MR_std_vector_MR_EdgeId

◆ MR_std_vector_MR_EdgePoint

◆ MR_std_vector_MR_Vector3f

◆ MR_std_vector_MR_VertId

◆ MR_std_vector_std_vector_MR_EdgeId

◆ MR_TerminalVertex

a vertex with associated penalty metric to designate a possible start or end of edge path Generated from class MR::TerminalVertex.

◆ MR_UndirectedEdgeBitSet

◆ MR_VertBitSet

typedef struct MR_VertBitSet MR_VertBitSet

◆ MR_VertCoords

typedef struct MR_VertCoords MR_VertCoords

Function Documentation

◆ MR_addLeftBand()

MRC_API void MR_addLeftBand ( const MR_MeshTopology * topology,
const MR_std_vector_MR_EdgeId * loop,
MR_FaceBitSet * addHere )

adds all faces incident to loop vertices and located to the left from the loop to given FaceBitSet Generated from function MR::addLeftBand. Parameter topology can not be null. It is a single object. Parameter loop can not be null. It is a single object. Parameter addHere can not be null. It is a single object.

◆ MR_buildShortestPath_MR_VertBitSet()

MRC_API MR_std_vector_MR_EdgeId * MR_buildShortestPath_MR_VertBitSet ( const MR_Mesh * mesh,
MR_VertId start,
const MR_VertBitSet * finish,
const float * maxPathLen )

builds shortest path in euclidean metric from start to finish vertices; if no path can be found then empty path is returned Generated from function MR::buildShortestPath. Parameter mesh can not be null. It is a single object. Parameter finish can not be null. It is a single object. Parameter maxPathLen has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildShortestPath_MR_VertId()

MRC_API MR_std_vector_MR_EdgeId * MR_buildShortestPath_MR_VertId ( const MR_Mesh * mesh,
MR_VertId start,
MR_VertId finish,
const float * maxPathLen )

finds the shortest path in euclidean metric from start to finish vertices using Dijkstra algorithm; if no path can be found then empty path is returned Generated from function MR::buildShortestPath. Parameter mesh can not be null. It is a single object. Parameter maxPathLen has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildShortestPathAStar_4()

MRC_API MR_std_vector_MR_EdgeId * MR_buildShortestPathAStar_4 ( const MR_Mesh * mesh,
MR_VertId start,
MR_VertId finish,
const float * maxPathLen )

finds the shortest path in euclidean metric from start to finish vertices using A* modification of Dijkstra algorithm, which is faster for near linear path; if no path can be found then empty path is returned Generated from function MR::buildShortestPathAStar. Parameter mesh can not be null. It is a single object. Parameter maxPathLen has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildShortestPathAStar_6()

MRC_API MR_std_vector_MR_EdgeId * MR_buildShortestPathAStar_6 ( const MR_Mesh * mesh,
const MR_MeshTriPoint * start,
const MR_MeshTriPoint * finish,
MR_VertId * outPathStart,
MR_VertId * outPathFinish,
const float * maxPathLen )

finds the path from a vertex in start-triangle to a vertex in finish-triangle, so that the length start-first_vertex-...-last_vertex-finish is shortest in euclidean metric; using A* modification of Dijkstra algorithm, which is faster for near linear path; if no path can be found then empty path is returned Generated from function MR::buildShortestPathAStar. Parameter mesh can not be null. It is a single object. Parameter start can not be null. It is a single object. Parameter finish can not be null. It is a single object. Parameter outPathStart defaults to a null pointer in C++. Parameter outPathFinish defaults to a null pointer in C++. Parameter maxPathLen has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildShortestPathBiDir_4()

MRC_API MR_std_vector_MR_EdgeId * MR_buildShortestPathBiDir_4 ( const MR_Mesh * mesh,
MR_VertId start,
MR_VertId finish,
const float * maxPathLen )

finds the shortest path in euclidean metric from start to finish vertices using bidirectional modification of Dijkstra algorithm, constructing the path simultaneously from both start and finish, which is faster for long paths; if no path can be found then empty path is returned Generated from function MR::buildShortestPathBiDir. Parameter mesh can not be null. It is a single object. Parameter maxPathLen has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildShortestPathBiDir_6()

MRC_API MR_std_vector_MR_EdgeId * MR_buildShortestPathBiDir_6 ( const MR_Mesh * mesh,
const MR_MeshTriPoint * start,
const MR_MeshTriPoint * finish,
MR_VertId * outPathStart,
MR_VertId * outPathFinish,
const float * maxPathLen )

finds the path from a vertex in start-triangle to a vertex in finish-triangle, so that the length start-first_vertex-...-last_vertex-finish is shortest in euclidean metric; using bidirectional modification of Dijkstra algorithm, constructing the path simultaneously from both start and finish, which is faster for long paths; if no path can be found then empty path is returned Generated from function MR::buildShortestPathBiDir. Parameter mesh can not be null. It is a single object. Parameter start can not be null. It is a single object. Parameter finish can not be null. It is a single object. Parameter outPathStart defaults to a null pointer in C++. Parameter outPathFinish defaults to a null pointer in C++. Parameter maxPathLen has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildSmallestMetricPath_const_MR_MeshTopology_ref_MR_VertBitSet()

MRC_API MR_std_vector_MR_EdgeId * MR_buildSmallestMetricPath_const_MR_MeshTopology_ref_MR_VertBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_VertId start,
const MR_VertBitSet * finish,
const float * maxPathMetric )

builds shortest path in given metric from start to finish vertices; if no path can be found then empty path is returned Generated from function MR::buildSmallestMetricPath. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter finish can not be null. It is a single object. Parameter maxPathMetric has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildSmallestMetricPath_const_MR_MeshTopology_ref_MR_VertId()

MRC_API MR_std_vector_MR_EdgeId * MR_buildSmallestMetricPath_const_MR_MeshTopology_ref_MR_VertId ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_VertId start,
MR_VertId finish,
const float * maxPathMetric )

builds shortest path in given metric from start to finish vertices; if no path can be found then empty path is returned Generated from function MR::buildSmallestMetricPath. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter maxPathMetric has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildSmallestMetricPathBiDir_5()

MRC_API MR_std_vector_MR_EdgeId * MR_buildSmallestMetricPathBiDir_5 ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_VertId start,
MR_VertId finish,
const float * maxPathMetric )

finds the smallest metric path from start vertex to finish vertex, using bidirectional modification of Dijkstra algorithm, constructing the path simultaneously from both start and finish, which is faster for long paths; if no path can be found then empty path is returned Generated from function MR::buildSmallestMetricPathBiDir. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter maxPathMetric has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_buildSmallestMetricPathBiDir_9()

MRC_API MR_std_vector_MR_EdgeId * MR_buildSmallestMetricPathBiDir_9 ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
const MR_TerminalVertex * starts,
int32_t numStarts,
const MR_TerminalVertex * finishes,
int32_t numFinishes,
MR_VertId * outPathStart,
MR_VertId * outPathFinish,
const float * maxPathMetric )

finds the smallest metric path from one of start vertices to one of the finish vertices, using bidirectional modification of Dijkstra algorithm, constructing the path simultaneously from both starts and finishes, which is faster for long paths; if no path can be found then empty path is returned Generated from function MR::buildSmallestMetricPathBiDir. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter outPathStart defaults to a null pointer in C++. Parameter outPathFinish defaults to a null pointer in C++. Parameter maxPathMetric has a default argument: 3.40282347E+38F, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_calcOrientedArea()

MRC_API MR_Vector3d MR_calcOrientedArea ( const MR_std_vector_MR_EdgeId * loop,
const MR_Mesh * mesh )

returns the vector with the magnitude equal to the area surrounded by the loop (if the loop is planar), and directed to see the loop in ccw order from the vector tip Generated from function MR::calcOrientedArea. Parameter loop can not be null. It is a single object. Parameter mesh can not be null. It is a single object.

◆ MR_calcPathLength()

MRC_API double MR_calcPathLength ( const MR_std_vector_MR_EdgeId * path,
const MR_Mesh * mesh )

Generated from function MR::calcPathLength. Parameter path can not be null. It is a single object. Parameter mesh can not be null. It is a single object.

◆ MR_calcPathMetric()

MRC_API double MR_calcPathMetric ( const MR_std_vector_MR_EdgeId * path,
MR_PassBy metric_pass_by,
MR_std_function_float_from_MR_EdgeId * metric )

computes summed metric of all edges in the path Generated from function MR::calcPathMetric. Parameter path can not be null. It is a single object.

◆ MR_dilateRegion_4_MR_FaceBitSet()

MRC_API bool MR_dilateRegion_4_MR_FaceBitSet ( const MR_Mesh * mesh,
MR_FaceBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

expands the region (of faces or vertices) on given value (in meters). returns false if callback also returns false Generated from function MR::dilateRegion. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegion_4_MR_UndirectedEdgeBitSet()

MRC_API bool MR_dilateRegion_4_MR_UndirectedEdgeBitSet ( const MR_Mesh * mesh,
MR_UndirectedEdgeBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegion. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegion_4_MR_VertBitSet()

MRC_API bool MR_dilateRegion_4_MR_VertBitSet ( const MR_Mesh * mesh,
MR_VertBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegion. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_FaceBitSet()

MRC_API bool MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_FaceBitSet ( const MR_MeshTopology * topology,
const MR_VertCoords * points,
MR_FaceBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegion. Parameter topology can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_UndirectedEdgeBitSet()

MRC_API bool MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_UndirectedEdgeBitSet ( const MR_MeshTopology * topology,
const MR_VertCoords * points,
MR_UndirectedEdgeBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegion. Parameter topology can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_VertBitSet()

MRC_API bool MR_dilateRegion_5_const_MR_MeshTopology_ref_MR_VertBitSet ( const MR_MeshTopology * topology,
const MR_VertCoords * points,
MR_VertBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegion. Parameter topology can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegionByMetric_MR_FaceBitSet()

MRC_API bool MR_dilateRegionByMetric_MR_FaceBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_FaceBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

expands the region (of faces or vertices) on given metric value. returns false if callback also returns false Generated from function MR::dilateRegionByMetric. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegionByMetric_MR_UndirectedEdgeBitSet()

MRC_API bool MR_dilateRegionByMetric_MR_UndirectedEdgeBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_UndirectedEdgeBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegionByMetric. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_dilateRegionByMetric_MR_VertBitSet()

MRC_API bool MR_dilateRegionByMetric_MR_VertBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_VertBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::dilateRegionByMetric. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegion_4_MR_FaceBitSet()

MRC_API bool MR_erodeRegion_4_MR_FaceBitSet ( const MR_Mesh * mesh,
MR_FaceBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

shrinks the region (of faces or vertices) on given value (in meters). returns false if callback also returns false Generated from function MR::erodeRegion. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegion_4_MR_UndirectedEdgeBitSet()

MRC_API bool MR_erodeRegion_4_MR_UndirectedEdgeBitSet ( const MR_Mesh * mesh,
MR_UndirectedEdgeBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegion. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegion_4_MR_VertBitSet()

MRC_API bool MR_erodeRegion_4_MR_VertBitSet ( const MR_Mesh * mesh,
MR_VertBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegion. Parameter mesh can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_FaceBitSet()

MRC_API bool MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_FaceBitSet ( const MR_MeshTopology * topology,
const MR_VertCoords * points,
MR_FaceBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegion. Parameter topology can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_UndirectedEdgeBitSet()

MRC_API bool MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_UndirectedEdgeBitSet ( const MR_MeshTopology * topology,
const MR_VertCoords * points,
MR_UndirectedEdgeBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegion. Parameter topology can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_VertBitSet()

MRC_API bool MR_erodeRegion_5_const_MR_MeshTopology_ref_MR_VertBitSet ( const MR_MeshTopology * topology,
const MR_VertCoords * points,
MR_VertBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegion. Parameter topology can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegionByMetric_MR_FaceBitSet()

MRC_API bool MR_erodeRegionByMetric_MR_FaceBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_FaceBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

shrinks the region (of faces or vertices) on given metric value. returns false if callback also returns false Generated from function MR::erodeRegionByMetric. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegionByMetric_MR_UndirectedEdgeBitSet()

MRC_API bool MR_erodeRegionByMetric_MR_UndirectedEdgeBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_UndirectedEdgeBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegionByMetric. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_erodeRegionByMetric_MR_VertBitSet()

MRC_API bool MR_erodeRegionByMetric_MR_VertBitSet ( const MR_MeshTopology * topology,
const MR_std_function_float_from_MR_EdgeId * metric,
MR_VertBitSet * region,
float dilation,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback )

Generated from function MR::erodeRegionByMetric. Parameter topology can not be null. It is a single object. Parameter metric can not be null. It is a single object. Parameter region can not be null. It is a single object. Parameter callback has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it.

◆ MR_extractClosedLoops_2()

MRC_API MR_std_vector_std_vector_MR_EdgeId * MR_extractClosedLoops_2 ( const MR_MeshTopology * topology,
MR_EdgeBitSet * edges )

finds all closed loops from given edges and removes them from edges Generated from function MR::extractClosedLoops. Parameter topology can not be null. It is a single object. Parameter edges can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_extractClosedLoops_3()

MRC_API MR_std_vector_std_vector_MR_EdgeId * MR_extractClosedLoops_3 ( const MR_MeshTopology * topology,
const MR_std_vector_MR_EdgeId * inEdges,
MR_EdgeBitSet * outNotLoopEdges )

Generated from function MR::extractClosedLoops. Parameter topology can not be null. It is a single object. Parameter inEdges can not be null. It is a single object. Parameter outNotLoopEdges defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_extractLongestClosedLoop()

MRC_API MR_std_vector_MR_EdgeId * MR_extractLongestClosedLoop ( const MR_Mesh * mesh,
const MR_std_vector_MR_EdgeId * inEdges )

Generated from function MR::extractLongestClosedLoop. Parameter mesh can not be null. It is a single object. Parameter inEdges can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_getContourPlaneIntersections()

MRC_API int32_t MR_getContourPlaneIntersections ( const MR_std_vector_MR_Vector3f * path,
const MR_Plane3f * plane,
MR_std_vector_MR_Vector3f * outIntersections )

finds all intersection points between given contour and plane, adds them in outIntersections and returns their number Generated from function MR::getContourPlaneIntersections. Parameter path can not be null. It is a single object. Parameter plane can not be null. It is a single object. Parameter outIntersections defaults to a null pointer in C++.

◆ MR_getPathEdgesInPlane()

MRC_API int32_t MR_getPathEdgesInPlane ( const MR_Mesh * mesh,
const MR_std_vector_MR_EdgeId * path,
const MR_Plane3f * plane,
const float * tolerance,
MR_std_vector_MR_EdgeId * outInPlaneEdges )

finds all path edges located in given plane with given tolerance, adds them in outInPlaneEdges and returns their number Generated from function MR::getPathEdgesInPlane. Parameter mesh can not be null. It is a single object. Parameter path can not be null. It is a single object. Parameter plane can not be null. It is a single object. Parameter tolerance has a default argument: 0.F, pass a null pointer to use it. Parameter outInPlaneEdges defaults to a null pointer in C++.

◆ MR_getPathPlaneIntersections()

MRC_API int32_t MR_getPathPlaneIntersections ( const MR_Mesh * mesh,
const MR_std_vector_MR_EdgeId * path,
const MR_Plane3f * plane,
MR_std_vector_MR_EdgePoint * outIntersections )

finds all intersection points between given path and plane, adds them in outIntersections and returns their number Generated from function MR::getPathPlaneIntersections. Parameter mesh can not be null. It is a single object. Parameter path can not be null. It is a single object. Parameter plane can not be null. It is a single object. Parameter outIntersections defaults to a null pointer in C++.

◆ MR_getVertexOrdering_MR_MeshTopology()

MRC_API MR_std_vector_MR_VertId * MR_getVertexOrdering_MR_MeshTopology ( const MR_MeshTopology * topology,
MR_PassBy region_pass_by,
MR_VertBitSet * region )

returns all vertices from given region ordered in each connected component in breadth-first way Generated from function MR::getVertexOrdering. Parameter topology can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_isEdgeLoop()

MRC_API bool MR_isEdgeLoop ( const MR_MeshTopology * topology,
const MR_std_vector_MR_EdgeId * edges )

returns true if every next edge starts where previous edge ends, and start vertex coincides with finish vertex Generated from function MR::isEdgeLoop. Parameter topology can not be null. It is a single object. Parameter edges can not be null. It is a single object.

◆ MR_isEdgePath()

MRC_API bool MR_isEdgePath ( const MR_MeshTopology * topology,
const MR_std_vector_MR_EdgeId * edges )

returns true if every next edge starts where previous edge ends Generated from function MR::isEdgePath. Parameter topology can not be null. It is a single object. Parameter edges can not be null. It is a single object.

◆ MR_reverse_std_vector_MR_EdgeId()

MRC_API void MR_reverse_std_vector_MR_EdgeId ( MR_std_vector_MR_EdgeId * path)

reverses the order of edges and flips each edge orientation, thus making the opposite directed edge path Generated from function MR::reverse. Parameter path can not be null. It is a single object.

◆ MR_reverse_std_vector_std_vector_MR_EdgeId()

MRC_API void MR_reverse_std_vector_std_vector_MR_EdgeId ( MR_std_vector_std_vector_MR_EdgeId * paths)

reverse every path in the vector Generated from function MR::reverse. Parameter paths can not be null. It is a single object.

◆ MR_sortPathsByLength()

MRC_API void MR_sortPathsByLength ( MR_std_vector_std_vector_MR_EdgeId * paths,
const MR_Mesh * mesh )

Generated from function MR::sortPathsByLength. Parameter paths can not be null. It is a single object. Parameter mesh can not be null. It is a single object.

◆ MR_sortPathsByMetric()

MRC_API void MR_sortPathsByMetric ( MR_std_vector_std_vector_MR_EdgeId * paths,
MR_PassBy metric_pass_by,
MR_std_function_float_from_MR_EdgeId * metric )

sorts given paths in ascending order of their metrics Generated from function MR::sortPathsByMetric. Parameter paths can not be null. It is a single object.

◆ MR_splitOnSimpleLoops()

MRC_API MR_std_vector_std_vector_MR_EdgeId * MR_splitOnSimpleLoops ( const MR_MeshTopology * topology,
MR_std_vector_std_vector_MR_EdgeId * loops )

given a number of edge loops, splits every loop that passes via a vertex more than once on smaller loops without self-intersections Generated from function MR::splitOnSimpleLoops. Parameter topology can not be null. It is a single object. Parameter loops 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. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_vector_MR_EdgeId_Destroy() to free it when you're done using it.

◆ MR_TerminalVertex_AssignFromAnother()

MRC_API MR_TerminalVertex * MR_TerminalVertex_AssignFromAnother ( MR_TerminalVertex * _this,
const MR_TerminalVertex * _other )

Generated from a method of class MR::TerminalVertex named operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_TerminalVertex_ConstructFrom()

MRC_API MR_TerminalVertex * MR_TerminalVertex_ConstructFrom ( MR_VertId v,
float metric )

Constructs MR::TerminalVertex elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_TerminalVertex_Destroy() to free it when you're done using it.

◆ MR_TerminalVertex_ConstructFromAnother()

MRC_API MR_TerminalVertex * MR_TerminalVertex_ConstructFromAnother ( const MR_TerminalVertex * _other)

Generated from a constructor of class MR::TerminalVertex. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_TerminalVertex_Destroy() to free it when you're done using it.

◆ MR_TerminalVertex_DefaultConstruct()

MRC_API MR_TerminalVertex * MR_TerminalVertex_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TerminalVertex_Destroy() to free it when you're done using it.

◆ MR_TerminalVertex_DefaultConstructArray()

MRC_API MR_TerminalVertex * MR_TerminalVertex_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_TerminalVertex_DestroyArray(). Use MR_TerminalVertex_OffsetMutablePtr() and MR_TerminalVertex_OffsetPtr() to access the array elements.

◆ MR_TerminalVertex_Destroy()

MRC_API void MR_TerminalVertex_Destroy ( const MR_TerminalVertex * _this)

Destroys a heap-allocated instance of MR_TerminalVertex. Does nothing if the pointer is null.

◆ MR_TerminalVertex_DestroyArray()

MRC_API void MR_TerminalVertex_DestroyArray ( const MR_TerminalVertex * _this)

Destroys a heap-allocated array of MR_TerminalVertex. Does nothing if the pointer is null.

◆ MR_TerminalVertex_Get_metric()

MRC_API const float * MR_TerminalVertex_Get_metric ( const MR_TerminalVertex * _this)

Returns a pointer to a member variable of class MR::TerminalVertex named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_TerminalVertex_Get_v()

MRC_API const MR_VertId * MR_TerminalVertex_Get_v ( const MR_TerminalVertex * _this)

Returns a pointer to a member variable of class MR::TerminalVertex named v. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_TerminalVertex_GetMutable_metric()

MRC_API float * MR_TerminalVertex_GetMutable_metric ( MR_TerminalVertex * _this)

Returns a mutable pointer to a member variable of class MR::TerminalVertex named metric. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_TerminalVertex_GetMutable_v()

MRC_API MR_VertId * MR_TerminalVertex_GetMutable_v ( MR_TerminalVertex * _this)

Returns a mutable pointer to a member variable of class MR::TerminalVertex named v. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_TerminalVertex_OffsetMutablePtr()

MRC_API MR_TerminalVertex * MR_TerminalVertex_OffsetMutablePtr ( MR_TerminalVertex * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_TerminalVertex_OffsetPtr()

MRC_API const MR_TerminalVertex * MR_TerminalVertex_OffsetPtr ( const MR_TerminalVertex * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.

◆ MR_TerminalVertex_Set_metric()

MRC_API void MR_TerminalVertex_Set_metric ( MR_TerminalVertex * _this,
float value )

Modifies a member variable of class MR::TerminalVertex named metric. Parameter _this can not be null. It is a single object.

◆ MR_TerminalVertex_Set_v()

MRC_API void MR_TerminalVertex_Set_v ( MR_TerminalVertex * _this,
MR_VertId value )

Modifies a member variable of class MR::TerminalVertex named v. Parameter _this can not be null. It is a single object.