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.
 
MLWEM_EXPORT bool mergePartialFaceCuts (WEMVector< WEMPartialFaceCut > *partialFaceCuts, WEMVector< WEMFaceCut > *faceCuts)
 Merges the partial face cuts into one or more face cuts.
 
MLWEM_EXPORT WEMFaceCutfindFaceCut (WEMVector< WEMFaceCut > *faceCuts, int faceIndex)
 Returns the face cut which continues the given face index.
 
MLWEM_EXPORT void mergeFaceCuts (WEMVector< WEMFace > *intersecting, WEMVector< WEMFaceCut > **faceCutTable, WEMVector< WEMCut > *cuts=nullptr)
 Merges the face cuts into one or more cuts.
 

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.

References findFaceCut().

Referenced by findFaceCut().

◆ 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.

References getClosestCut().

Referenced by getClosestCut().

◆ 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.

References mergeFaceCuts().

Referenced by mergeFaceCuts().

◆ mergePartialFaceCuts()

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

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

References mergePartialFaceCuts().

Referenced by mergePartialFaceCuts().