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