Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Parameterization/MeshDijkstra.h |
Include |
#include "Parameterization/MeshDijkstra.h" |
template<class PointSetType>
class TMeshDijkstra
TMeshDijkstra computes graph distances on a mesh from seed point(s) using Dijkstra's algorithm.
Templated on the point set type, which must provide positions, normals, and neighbours. Currently will only work for FDynamicMesh3 and FDynamicPointSet3 because of call to PointSetType->VtxVerticesItr()
Name | Description | ||
---|---|---|---|
|
GetPositionFunc |
Return the 3D Position of a given Point in the PointSet. |
|
|
const PointSetT... |
PointSet |
PointSet we are calculating on |
Name | Description | |
---|---|---|
|
TMeshDijkstra ( |
Construct TMeshDijkstra for the given PointSet. |
Name | Description | ||
---|---|---|---|
|
ComputeToMaxDistance |
Computes outwards from seed points to all points that are less/equal to ComputeToMaxDistance from the seed. |
|
|
ComputeToTargetPoint |
Computes outwards from seed points to TargetPointID, or stop when all points are further than ComputeToMaxDistance from the seed |
|
|
FindPathToNearestSeed |
Bool GetInterpTriDistance(const FIndex3i Triangle, const FVector3d& BaryCoords, double& DistanceOut) const |
|
|
double |
GetDistance ( |
|
|
double |
GetMaxGraphDistance() |
|
|
GetMaxGraphDistancePointID() |
||
|
HasDistance ( |
||
|
Reset() |
Reset internal data structures but keep allocated memory |