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. | |
Mesh structure of connected particles via edges.
| 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. |