FSegmentMesh::GetEdgeLengths

Lengths (or lengths squared) of all edges.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SegmentMesh.h

Include

#include "Chaos/SegmentMesh.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/SegmentMesh.cpp

Syntax

TArray< FReal > GetEdgeLengths
(
    const TParticles< FReal, 3 > & InParticles,
    const bool lengthSquared
) const

Remarks

Lengths (or lengths squared) of all edges.

Parameters

Parameter

Description

InParticles

The particle positions to use. This routine assumes it's sized appropriately.

lengthSquared

If true, the squared length is returned, which is faster.

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