Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Parameterization
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Parameterization/IncrementalMeshDijkstra.h |
| Include | #include "Parameterization/IncrementalMeshDijkstra.h" |
Syntax
template<class PointSetType>
class TIncrementalMeshDijkstra
Remarks
TIncrementalMeshDijkstra computes graph distances on a mesh from seed point(s) using Dijkstra's algorithm. Derived from TMeshDijkstra. This Incremental variant allows adding new Seed points to an already-computed solution.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniqueFunction< FVector3d(int32)> | GetPositionFunc | Return the 3D Position of a given Point in the PointSet. | |
| const PointSetType * | PointSet | PointSet we are calculating on |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TIncrementalMeshDijkstra
(
const PointSetType* PointSetIn |
Construct TMeshDijkstra for the given PointSet. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSeedPoints
(
const TArray< FSeedPoint >& SeedPointsIn |
Add new SeedPoints to the current solution, and then propagate updated graph distances to any points closer to these new seed points than to existing seed points. | |
| int32 | |||
| bool | FindPathToNearestSeed
(
int32 PointID, |
Find path from a point to the nearest seed point | |
| double | GetDistance
(
int32 PointID |
||
| int32 | GetSeedExternalIDForPointSetID
(
int32 PointID |
||
| bool | HasDistance
(
int32 PointID |
||
| double |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSeedPoint | FSeedPoint defines a seed point passed to the various compute methods below |