Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FGroupTopology
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/GroupTopology.h |
| Include | #include "GroupTopology.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/GroupTopology.cpp |
static bool IsEdgeAngleSharp
(
const FDynamicMesh3 * Mesh,
int32 SharedVid,
const FIndex2i & AttachedGroupEdgeEids,
double DotThreshold
)
Remarks
Helper function for use with ShouldAddExtraCornerAtVert. Checks that the dot product of the two mesh edge unit vectors starting from shared vertex is greater than or equal to the given threshold. Assumes that SharedVid actually is shared by the two edges, and returns false if either edge is degenerate.
Parameters
| Name | Description |
|---|---|
| DotThreshold | Threshold usually set equal to FMathd::Cos(ThresholdDegrees * FMathd::DegToRad). The parameter is not degrees just to avoid that calculation on each invocation. |