C# Класс EdgeGraph.Node

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CheckAdjacents ( List _edges ) : void
CombineNodes ( Node node1, Node node2, List edges, List nodes ) : Node

Combines two nodes into one

GetAdjacent ( string ignored ) : string
GetClosestNode ( List nodes, Node other ) : Node

Gets closest node to point

GetNode ( List nodes, string id ) : Node
Node ( ) : UnityEngine
Node ( Node node ) : UnityEngine
Node ( Vector3 pos ) : UnityEngine
Node ( Vector3 pos, float _angle ) : UnityEngine

Описание методов

CheckAdjacents() публичный Метод

public CheckAdjacents ( List _edges ) : void
_edges List
Результат void

CombineNodes() публичный статический Метод

Combines two nodes into one
public static CombineNodes ( Node node1, Node node2, List edges, List nodes ) : Node
node1 Node First node, this node is transformed into the combined node
node2 Node Second node
edges List List of edges in which the IDs are fixed
nodes List
Результат Node

GetAdjacent() публичный Метод

public GetAdjacent ( string ignored ) : string
ignored string
Результат string

GetClosestNode() публичный статический Метод

Gets closest node to point
public static GetClosestNode ( List nodes, Node other ) : Node
nodes List
other Node
Результат Node

GetNode() публичный статический Метод

public static GetNode ( List nodes, string id ) : Node
nodes List
id string
Результат Node

Node() публичный Метод

public Node ( ) : UnityEngine
Результат UnityEngine

Node() публичный Метод

public Node ( Node node ) : UnityEngine
node Node
Результат UnityEngine

Node() публичный Метод

public Node ( Vector3 pos ) : UnityEngine
pos Vector3
Результат UnityEngine

Node() публичный Метод

public Node ( Vector3 pos, float _angle ) : UnityEngine
pos Vector3
_angle float
Результат UnityEngine