Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Selections
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include | #include "Selections/GeometrySelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Selections/GeometrySelectionUtil.cpp |
namespace UE
{
namespace Geometry
{
bool UE&58;&58;Geometry&58;&58;ConvertSelection
&40;
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGroupTopology &42; GroupTopology,
const FGeometrySelection & FromSelectionIn,
FGeometrySelection & ToSelectionOut
&41;
}
}
Remarks
Convert Selection from one type to another, based on geometry/topology types in FromSelectionIn and ToSelectionOut.
The following table describes the conversions, the FromSelectionIn/ToSelectionOut type are rows/columns respectively: To: Triangle Polygroup From: Vertex Edge Face Vertex Edge Face
Triangle Vertex 1 . . . . . Triangle Edge 1 1 . . . . Triangle Face 1 1 1 4# 3# 2# Polygroup Vertex 6# . . 1 . . Polygroup Edge 5# . . . 1 . Polygroup Face . . . . . 1
Key: . These conversions are not implemented... yet? GroupTopology is ignored 1 supported. The implementation is obvious/unambiguous 2 supported. Polygroup faces containing any input triangle are selected 3 supported. Polygroup edges containing any input triangle edge are selected, but polygroup edges containing only input triangle vertices are not. 4 supported. Polygroup corners coinciding with any input triangle vertex are selected 5 supported. All mesh vertices along the polygroup edge are selected 6 supported. All mesh vertices coinciding with polygroup corners are selected indicates GroupTopology must not be null for this combination. If this symbol is missing GroupTopology is ignored true if conversion is supported and was computed successfully, return false otherwise