Helper class for performing a cutting on a face.
Dynamic templated vector.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLWEM_EXPORT WEMFaceCut * findFaceCut(WEMVector< WEMFaceCut > *faceCuts, int faceIndex)
Returns the face cut which continues the given face index.
MLWEM_EXPORT bool mergePartialFaceCuts(WEMVector< WEMPartialFaceCut > *partialFaceCuts, WEMVector< WEMFaceCut > *faceCuts)
Merges the partial face cuts into one or more face cuts.
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 void mergeFaceCuts(WEMVector< WEMFace > *intersecting, WEMVector< WEMFaceCut > **faceCutTable, WEMVector< WEMCut > *cuts=nullptr)
Merges the face cuts into one or more cuts.