Class LineGraphWelder
Inheritance
LineGraphWelder
Assembly: AnyPath.dll
Syntax
public class LineGraphWelder
Constructors
LineGraphWelder()
Declaration
Methods
ContinuousWeld(float3, float3, float, int, int, List<float3>, List<Edge>, Dictionary<int3, int>, float)
Declaration
public static void ContinuousWeld(float3 a, float3 b, float enterCost, int flags, int id, List<float3> vertices, List<LineGraph.Edge> edges, Dictionary<int3, int> buckets, float thresholdMultiplier = 100)
Parameters
ContinuousWeld(float3, float3, float, int, NativeList<float3>, NativeList<Edge>, NativeHashMap<int3, int>, float)
Declaration
public static void ContinuousWeld(float3 a, float3 b, float enterCost, int flags, NativeList<float3> vertices, NativeList<LineGraph.Edge> edges, NativeHashMap<int3, int> buckets, float thresholdMultiplier = 100)
Parameters
Type |
Name |
Description |
float3 |
a |
|
float3 |
b |
|
float |
enterCost |
|
int |
flags |
|
NativeList<float3> |
vertices |
|
NativeList<LineGraph.Edge> |
edges |
|
NativeHashMap<int3, int> |
buckets |
|
float |
thresholdMultiplier |
|
ScheduleWeld(NativeList<float3>, NativeArray<Edge>, NativeArray<Edge>, float, JobHandle)
Declaration
public static JobHandle ScheduleWeld(NativeList<float3> inOutVertices, NativeArray<LineGraph.Edge> inOutUndirectedEdges, NativeArray<LineGraph.Edge> inOutDirectedEdges = default, float weldThreshold = 0.001, JobHandle dependsOn = default)
Parameters
Type |
Name |
Description |
NativeList<float3> |
inOutVertices |
|
NativeArray<LineGraph.Edge> |
inOutUndirectedEdges |
|
NativeArray<LineGraph.Edge> |
inOutDirectedEdges |
|
float |
weldThreshold |
|
JobHandle |
dependsOn |
|
Returns
Type |
Description |
JobHandle |
|
ScheduleWeld(NativeList<float3>, NativeArray<Edge>, NativeArray<Edge>, NativeList<float3>, float, JobHandle)
Declaration
public static JobHandle ScheduleWeld(NativeList<float3> inVertices, NativeArray<LineGraph.Edge> inOutUndirectedEdges, NativeArray<LineGraph.Edge> inOutDirectedEdges, NativeList<float3> outVertices, float weldThreshold = 0.001, JobHandle dependsOn = default)
Parameters
Type |
Name |
Description |
NativeList<float3> |
inVertices |
|
NativeArray<LineGraph.Edge> |
inOutUndirectedEdges |
|
NativeArray<LineGraph.Edge> |
inOutDirectedEdges |
|
NativeList<float3> |
outVertices |
|
float |
weldThreshold |
|
JobHandle |
dependsOn |
|
Returns
Type |
Description |
JobHandle |
|
Weld(List<float3>, List<Edge>, List<Edge>, List<float3>, float)
Declaration
public static void Weld(List<float3> inVertices, List<LineGraph.Edge> inOutUndirectedEdges, List<LineGraph.Edge> inOutDirectedEdges, List<float3> outVertices, float weldThreshold = 0.001)
Parameters
Weld(List<float3>, List<Edge>, List<Edge>, float)
Declaration
public static void Weld(List<float3> inOutVertices, List<LineGraph.Edge> inOutUndirectedEdges, List<LineGraph.Edge> inOutDirectedEdges, float weldThreshold = 0.001)
Parameters
Weld(NativeArray<float3>, NativeArray<Edge>, NativeArray<Edge>, NativeList<float3>, NativeHashMap<int3, int>, NativeHashMap<int, int>, float)
Declaration
public static void Weld(NativeArray<float3> inVertices, NativeArray<LineGraph.Edge> inOutUndirectedEdges, NativeArray<LineGraph.Edge> inOutDirectedEdges, NativeList<float3> outVertices, NativeHashMap<int3, int> buckets, NativeHashMap<int, int> shiftedIndices, float weldThreshold = 0.001)
Parameters
Type |
Name |
Description |
NativeArray<float3> |
inVertices |
|
NativeArray<LineGraph.Edge> |
inOutUndirectedEdges |
|
NativeArray<LineGraph.Edge> |
inOutDirectedEdges |
|
NativeList<float3> |
outVertices |
|
NativeHashMap<int3, int> |
buckets |
|
NativeHashMap<int, int> |
shiftedIndices |
|
float |
weldThreshold |
|
Extension Methods