Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FGroupTopology
Description
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.
| Name | IsEdgeAngleSharp |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/GroupTopology.h |
| Include Path | #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
)
Parameters
| Name | Remarks |
|---|---|
| DotThreshold | Threshold usually set equal to FMathd::Cos(ThresholdDegrees * FMathd::DegToRad). The parameter is not degrees just to avoid that calculation on each invocation. |