TSegmentMesh

Mesh structure of connected particles via edges.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/SegmentMesh.h"

Syntax

template<class T>
class TSegmentMesh

Remarks

Mesh structure of connected particles via edges.

Constructors

Name Description

Public function

TSegmentMesh()

Public function

TSegmentMesh

(
    TArray< TVector< int32, 2 >>&& Ele...
)

Public function

TSegmentMesh

(
    const TSegmentMesh& Other
)

Public function

TSegmentMesh

(
    TSegmentMesh&& Other
)

Destructors

Name Description

Public function

~TSegmentMesh()

Functions

Name Description

Public function Const

TArray< T >

 

GetEdgeLengths

(
    const TParticles< T, 3 >& InPartic...,
    const bool lengthSquared
)

Lengths (or lengths squared) of all edges.

Public function Const

const TArray...

 

GetElements()

Public function Const

const TSet< ...

 

GetNeighbors

(
    const int32 index
)

The set of neighbor nodes, or nullptr if `index_ is not found.

Public function Const

int32

 

GetNumElements()

Public function Const

const TMap< ...

 

GetPointToEdges()

A map of each point index to the list of connected edges.

Public function Const

const TMap< ...

 

GetPointToNeighborsMap()

A map of each point index to the list of connected points.

Public function

void

 

Init

(
    const TArray< TVector< int32, 2 >> ...
)

Public function

void

 

Init

(
    TArray< TVector< int32, 2 >>&& Ele...
)

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