Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Solvers
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Solvers/PrecomputedMeshWeightData.h |
| Include | #include "Solvers/PrecomputedMeshWeightData.h" |
Syntax
class CotanTriangleData
Remarks
The per-triangle data used in constructing the cotangent weighted laplacian.
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | Area | ||
| double[3] | Cotangent | Total byte count: 6 double + 3 int32 = 60 bytes. | |
| int32[3] | OppositeEdge | OppositeEdge[i] = Corresponding DynamicsMesh3::EdgeId for the edge that is opposite the i'th vertex in this triangle | |
| int32 | TriId | Testing | |
| double[3] | VoronoiArea |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CotanTriangleData
(
const FDynamicMesh3& DynamicMesh, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsObtuse () |
||
| int32 | GetLocalEdgeIdx
(
const int32 DynamicsMeshEdgeId |
||
| double | GetOpposingCotangent
(
const int32 DynamicsMeshEdgeId |
||
| double | GetOpposingCotangent
(
const int32 DynamicsMeshEdgeId, |
Helper to return the cotangent of the angle opposite the given edge | |
| void | Initialize
(
const FDynamicMesh3& DynamicMesh, |
Typedefs
| Name | Description |
|---|---|
| TriangleVertices |
Constants
| Name | Description |
|---|---|
| SmallTriangleArea | The "floor" for triangle area. |