C# 클래스 EdgeGraph.Node

파일 보기 프로젝트 열기: famerij/EdgeGraph 1 사용 예제들

공개 메소드들

메소드 설명
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