engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Chaos::TSegmentMesh< T > 模板类 参考

Mesh structure of connected particles via edges. 更多...

#include <SegmentMesh.h>

Public 成员函数

TArray< T > GetEdgeLengths (const TParticles< T, 3 > &InParticles, const bool lengthSquared=false) const
 @ret Lengths (or lengths squared) of all edges. 更多...
 
const TSet< int32 > * GetNeighbors (const int32 index) const
 @ret The set of neighbor nodes, or nullptr if index is not found.
 
const TMap< int32, TArray< int32 > > & GetPointToEdges () const
 @ret A map of each point index to the list of connected edges.
 
const TMap< int32, TSet< int32 > > & GetPointToNeighborsMap () const
 @ret A map of each point index to the list of connected points.
 

详细描述

template<class T>
class Chaos::TSegmentMesh< T >

Mesh structure of connected particles via edges.

成员函数说明

◆ GetEdgeLengths()

template<class T >
TArray< T > Chaos::TSegmentMesh< T >::GetEdgeLengths ( const TParticles< T, 3 > &  InParticles,
const bool  lengthSquared = false 
) const

@ret Lengths (or lengths squared) of all edges.

参数
InParticles- The particle positions to use. This routine assumes it's sized appropriately.
lengthSquared- If true, the squared length is returned, which is faster.

该类的文档由以下文件生成: