C# Class EdgeGraph.Node

Afficher le fichier Open project: famerij/EdgeGraph Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CheckAdjacents() public méthode

public CheckAdjacents ( List _edges ) : void
_edges List
Résultat void

CombineNodes() public static méthode

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
Résultat Node

GetAdjacent() public méthode

public GetAdjacent ( string ignored ) : string
ignored string
Résultat string

GetClosestNode() public static méthode

Gets closest node to point
public static GetClosestNode ( List nodes, Node other ) : Node
nodes List
other Node
Résultat Node

GetNode() public static méthode

public static GetNode ( List nodes, string id ) : Node
nodes List
id string
Résultat Node

Node() public méthode

public Node ( ) : UnityEngine
Résultat UnityEngine

Node() public méthode

public Node ( Node node ) : UnityEngine
node Node
Résultat UnityEngine

Node() public méthode

public Node ( Vector3 pos ) : UnityEngine
pos Vector3
Résultat UnityEngine

Node() public méthode

public Node ( Vector3 pos, float _angle ) : UnityEngine
pos Vector3
_angle float
Résultat UnityEngine