24namespace WEMConnectedComponent
55 std::vector<WEMNode *>&
cNodes,
56 std::vector<WEMFace *>&
cFaces,
Defines the mesh component: node.
Base class for triangle and quad patches.
Stores a value list where the values are associated to primitives (WEMNode, WEMEdge,...
Dynamic templated vector.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLWEM_EXPORT void collectComponentBoundary(WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, bool unvisitedValue=false)
Same as 'collectComponent', but now the starting node should be on a boundary.
std::vector< WEMNode * > WEMNodeVector
Defines a vector of WEMNode pointers for temporary use.
MLWEM_EXPORT bool collectComponentFaceCut(WEMNode *node, std::vector< WEMNode * > &cNodes, std::vector< WEMFace * > &cFaces, WEMVector< WEMFaceCut > **faceCuts, unsigned int outerFlag, unsigned int intersectingFlag, bool visitedValue=true)
Collects a connected component of a WEM, starting with a node.
MLWEM_EXPORT void collectComponent(WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, bool unvisitedValue=false)
Collects a connected component of a wemPatch, starting with a node.
MLWEM_EXPORT double getPathLengthBetweenNodes(WEMPatch *wemPatch, const std::vector< unsigned int > &nodeIndicesPath)
Returns the sum of the lengths of the edges between the nodes given as indices in a given WEMPatch.
MLWEM_EXPORT void collectComponentPrimitiveValueList(WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, WEMFaceVector &cFaces, WEMFaceVector &iFaces, WEMPrimitiveValueList *valueList, double valueRange, unsigned int connectedFlag, bool unvisitedValue=false)
Collects a connected component of a WEMPatch, starting with a node.
MLWEM_EXPORT void collectComponentPseudoGeodesicDistance(WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, double maxDistance, bool unvisitedValue=false)
Collects all connected (node) components up to a given maximum distance which is measured as the sum ...
std::vector< WEMFace * > WEMFaceVector
Defines a vector of WEMFace pointers for temporary use.
MLWEM_EXPORT void collectComponentEuclideanDistance(WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, double maxDistance, bool unvisitedValue=false)
Same as 'collectComponent', but with an additional range parameter maxDistance.