Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshWeights
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector3d CotanCentroidSafe
(
const FDynamicMesh3& Mesh, |
Compute cotan-weighted centroid of a vertex one-ring, with some weight analysis/clamping to avoid vertices getting "stuck" in explicit integration/iterations. | MeshWeights.h | |
static FVector3d CotanCentroidSafe
(
const FDynamicMesh3& Mesh, |
Compute cotan-weighted centroid of a vertex one-ring, with some weight analysis/clamping to avoid vertices getting "stuck" in explicit integration/iterations. | MeshWeights.h |
CotanCentroidSafe(const FDynamicMesh3 &, int32, double, bool *)
Description
Compute cotan-weighted centroid of a vertex one-ring, with some weight analysis/clamping to avoid vertices getting "stuck" in explicit integration/iterations. If failure is detected, Uniform centroid is returned, which does cause some tangential flow
| Name | CotanCentroidSafe |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshWeights.h |
| Include Path | #include "MeshWeights.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshWeights.cpp |
static FVector3d CotanCentroidSafe
(
const FDynamicMesh3 & Mesh,
int32 VertexIndex,
double DegenerateTol,
bool * bFailedToUniform
)
Parameters
| Name | Remarks |
|---|---|
| DegenerateTol | if any weights are larger than this value, return uniform weights instead. Should be > 1. |
| bFailedToUniform | will be set to true if non-null and result was clamped |
CotanCentroidSafe(const FDynamicMesh3 &, int32, TFunctionRef< FVector3d(int32)>, double, bool *)
Description
Compute cotan-weighted centroid of a vertex one-ring, with some weight analysis/clamping to avoid vertices getting "stuck" in explicit integration/iterations. If failure is detected, Uniform centroid is returned, which does cause some tangential flow
| Name | CotanCentroidSafe |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshWeights.h |
| Include Path | #include "MeshWeights.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshWeights.cpp |
static FVector3d CotanCentroidSafe
(
const FDynamicMesh3 & Mesh,
int32 VertexIndex,
TFunctionRef < FVector3d> VertexPositionFunc,
double DegenerateTol,
bool * bFailedToUniform
)
Parameters
| Name | Remarks |
|---|---|
| DegenerateTol | if any weights are larger than this value, return uniform weights instead. Should be > 1. |
| bFailedToUniform | will be set to true if non-null and result was clamped |