MeshLib Documentation
Loading...
Searching...
No Matches
MRRegionBoundary.h File Reference
#include "MRMeshFwd.h"
#include "MRId.h"
#include "MRMeshTopology.h"

Go to the source code of this file.

Typedefs

typedef struct MREdgeLoops MREdgeLoops
 

Functions

MR_EXTERN_C_BEGIN MRMESHC_API MREdgeLoopmrTrackRightBoundaryLoop (const MRMeshTopology *topology, MREdgeId e0, const MRFaceBitSet *region)
 
MRMESHC_API const MREdgeLoop mrEdgeLoopsGet (const MREdgeLoops *loops, size_t index)
 
MRMESHC_API size_t mrEdgeLoopsSize (const MREdgeLoops *loops)
 
MRMESHC_API void mrEdgeLoopsFree (MREdgeLoops *loops)
 
MRMESHC_API MREdgeLoopsmrFindRightBoundary (const MRMeshTopology *topology, const MRFaceBitSet *region)
 

Typedef Documentation

◆ MREdgeLoops

typedef struct MREdgeLoops MREdgeLoops

Function Documentation

◆ mrEdgeLoopsFree()

MRMESHC_API void mrEdgeLoopsFree ( MREdgeLoops * loops)

◆ mrEdgeLoopsGet()

MRMESHC_API const MREdgeLoop mrEdgeLoopsGet ( const MREdgeLoops * loops,
size_t index )

◆ mrEdgeLoopsSize()

MRMESHC_API size_t mrEdgeLoopsSize ( const MREdgeLoops * loops)

◆ mrFindRightBoundary()

MRMESHC_API MREdgeLoops * mrFindRightBoundary ( const MRMeshTopology * topology,
const MRFaceBitSet * region )

returns all region boundary loops; every loop has region faces on the right, and not-region faces or holes on the left

◆ mrTrackRightBoundaryLoop()

MR_EXTERN_C_BEGIN MRMESHC_API MREdgeLoop * mrTrackRightBoundaryLoop ( const MRMeshTopology * topology,
MREdgeId e0,
const MRFaceBitSet * region )

returns closed loop of region boundary starting from given region boundary edge (region faces on the right, and not-region faces or holes on the left); if more than two boundary edges connect in one vertex, then the function makes the most abrupt turn to left