CotanTriangleData::GetOpposingCotangent

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

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Solvers/PrecomputedMeshWeightData.h

Include

#include "Solvers/PrecomputedMeshWeightData.h"

Syntax

double GetOpposingCotangent
(
    const int32 DynamicsMeshEdgeId,
    bool & bValid
) const

Remarks

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

Returns

Cotangent of the opposite angle.

Parameters

Parameter

Description

DynamicsMeshEdgeId

is the id used by FDynamicMesh3 for this edge.

bValid

will false on return if the requested edge is not part of this triangle

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