Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Parameterization > API/Runtime/GeometryCore/Parameterization/TMeshDijkstra
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Parameterization/MeshDijkstra.h |
| Include | #include "Parameterization/MeshDijkstra.h" |
bool ComputeToTargetPoint
(
const TArray < FSeedPoint > & SeedPointsIn,
int32 TargetPointID,
double ComputeToMaxDistanceIn
)
Remarks
Computes graph distances outwards from seed points to all points that are less/equal to ComputeToMaxDistance from the seed, or until TargetPointID is reached. This is useful for finding shortest paths between two points
Parameters
| Name | Description |
|---|---|
| SeedPointsIn | seed points used to initialize computation, ie geodesics propagate out from this point set |
| TargetPointID | the target point, computation stops when this point is reached |
| ComputeToMaxDistance | target graph-distance radius, will not compute/set distances on points with graph-distance larger than this |