MeVisLab Toolbox Reference
ml::WEMCutOp Namespace Reference

Helper namespace for operations on cuts (partial, face, or full). More...

Functions

MLWEM_EXPORT int getClosestCut (Vector3 position, Vector3 reference, WEMVector< WEMFaceCut > *faceCuts, int edgeIndex)
 Returns the closest cut to the given position between position and reference on the given edgeIndex. More...
 
MLWEM_EXPORT bool mergePartialFaceCuts (WEMVector< WEMPartialFaceCut > *partialFaceCuts, WEMVector< WEMFaceCut > *faceCuts)
 Merges the partial face cuts into one or more face cuts. More...
 
MLWEM_EXPORT WEMFaceCutfindFaceCut (WEMVector< WEMFaceCut > *faceCuts, int faceIndex)
 Returns the face cut which continues the given face index. More...
 
MLWEM_EXPORT void mergeFaceCuts (WEMVector< WEMFace > *intersecting, WEMVector< WEMFaceCut > **faceCutTable, WEMVector< WEMCut > *cuts=nullptr)
 Merges the face cuts into one or more cuts. More...
 

Detailed Description

Helper namespace for operations on cuts (partial, face, or full).

Function Documentation

◆ findFaceCut()

MLWEM_EXPORT WEMFaceCut* ml::WEMCutOp::findFaceCut ( WEMVector< WEMFaceCut > *  faceCuts,
int  faceIndex 
)

Returns the face cut which continues the given face index.

◆ getClosestCut()

MLWEM_EXPORT int ml::WEMCutOp::getClosestCut ( Vector3  position,
Vector3  reference,
WEMVector< WEMFaceCut > *  faceCuts,
int  edgeIndex 
)

Returns the closest cut to the given position between position and reference on the given edgeIndex.

◆ mergeFaceCuts()

MLWEM_EXPORT void ml::WEMCutOp::mergeFaceCuts ( WEMVector< WEMFace > *  intersecting,
WEMVector< WEMFaceCut > **  faceCutTable,
WEMVector< WEMCut > *  cuts = nullptr 
)

Merges the face cuts into one or more cuts.

Open cuts are tagged invalid.

◆ mergePartialFaceCuts()

MLWEM_EXPORT bool ml::WEMCutOp::mergePartialFaceCuts ( WEMVector< WEMPartialFaceCut > *  partialFaceCuts,
WEMVector< WEMFaceCut > *  faceCuts 
)

Merges the partial face cuts into one or more face cuts.