CotanTriangleData

The per-triangle data used in constructing the cotangent weighted laplacian.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/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

Name Description

Public variable

double[3]

 

Cotangent

Total byte count: 6 double + 3 int32 = 60 bytes.

Public variable

int32[3]

 

OppositeEdge

OppositeEdge[i] = Corresponding DynamicsMesh3::EdgeId for the edge that is opposite the i'th vertex in this triangle

Public variable

int32

 

TriId

Testing

Public variable

double[3]

 

VoronoiArea

Constructors

Name Description

Public function

CotanTriangleData()

Public function

CotanTriangleData

(
    const CotanTriangleData& Other
)

Public function

CotanTriangleData

(
    const FDynamicMesh3& DynamicMesh,
    int32 TriId
)

Functions

Name Description

Public function Const

bool

 

bIsObtuse()

Public function Const

int32

 

GetLocalEdgeIdx

(
    const int32 DynamicsMeshEdgeId
)

Public function Const

double

 

GetOpposingCotangent

(
    const int32 DynamicsMeshEdgeId
)

Public function Const

double

 

GetOpposingCotangent

(
    const int32 DynamicsMeshEdgeId,
    bool& bValid
)

Helper to return the cotangent of the angle opposite the given edge

Public function

void

 

Initialize

(
    const FDynamicMesh3& DynamicMesh,
    int32 SrcTriId
)

Typedefs

Name

Description

TriangleVertices

Constants

Name

Description

SmallTriangleArea

The "floor" for triangle area.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss