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...
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback