Class LineGraphDrawer
Inheritance
LineGraphDrawer
Assembly: AnyPath.dll
Syntax
public class LineGraphDrawer
Constructors
LineGraphDrawer(float)
Declaration
public LineGraphDrawer(float weldThreshold)
Parameters
Type |
Name |
Description |
float |
weldThreshold |
|
Properties
DirectedEdges
Declaration
public IReadOnlyList<LineGraph.Edge> DirectedEdges { get; }
Property Value
UndirectedEdges
Declaration
public IReadOnlyList<LineGraph.Edge> UndirectedEdges { get; }
Property Value
Vertices
Declaration
public IReadOnlyList<float3> Vertices { get; }
Property Value
Methods
AddDirected(float3, float3)
Declaration
public void AddDirected(float3 from, float3 to)
Parameters
Type |
Name |
Description |
float3 |
from |
|
float3 |
to |
|
AddDirected(float3, float3, float, int, int)
Declaration
public void AddDirected(float3 from, float3 to, float enterCost, int flags = 0, int id = 0)
Parameters
Type |
Name |
Description |
float3 |
from |
|
float3 |
to |
|
float |
enterCost |
|
int |
flags |
|
int |
id |
|
AddUndirected(float3, float3)
Declaration
public void AddUndirected(float3 from, float3 to)
Parameters
Type |
Name |
Description |
float3 |
from |
|
float3 |
to |
|
AddUndirected(float3, float3, float, int, int)
Declaration
public void AddUndirected(float3 from, float3 to, float enterCost, int flags = 0, int id = 0)
Parameters
Type |
Name |
Description |
float3 |
from |
|
float3 |
to |
|
float |
enterCost |
|
int |
flags |
|
int |
id |
|
Extension Methods