C# Class EdgeGraph.Graph

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: famerij/EdgeGraph Class Usage Examples

Méthodes publiques

Свойство Type Description
edges List
nodes List

Méthodes publiques

Méthode Description
CleanUpEdges ( ) : void

Checks if there are any edges that have invalid nodes and removes them

ClearPrimitiveSubPrimitives ( int index = -1 ) : void
ExtractMainPrimitives ( float childEdgeWidth ) : void
GeneratePrimitiveSubEdges ( int seed, int index = -1 ) : void
GetEdge ( string id ) : Edge
GetEdgePosition ( string id, bool localSpace = false ) : Vector3
ProcessMinimalCycles ( ) : void
ProcessPrimitiveSubPrimitives ( int index = -1 ) : void
ProcessPrimitives ( int index = -1 ) : void
RemoveNode ( string id ) : void
this ( int index ) : Node
this ( string id ) : Node

Private Methods

Méthode Description
ClearSubPrimitives ( Primitive p ) : void
GenerateSubEdges ( int seed, Primitive p ) : void
OnDrawGizmosSelected ( ) : void
ProcessSubPrimitives ( Primitive p ) : void
ResetPivot ( ) : void

Method Details

CleanUpEdges() public méthode

Checks if there are any edges that have invalid nodes and removes them
public CleanUpEdges ( ) : void
Résultat void

ClearPrimitiveSubPrimitives() public méthode

public ClearPrimitiveSubPrimitives ( int index = -1 ) : void
index int
Résultat void

ExtractMainPrimitives() public méthode

public ExtractMainPrimitives ( float childEdgeWidth ) : void
childEdgeWidth float
Résultat void

GeneratePrimitiveSubEdges() public méthode

public GeneratePrimitiveSubEdges ( int seed, int index = -1 ) : void
seed int
index int
Résultat void

GetEdge() public méthode

public GetEdge ( string id ) : Edge
id string
Résultat Edge

GetEdgePosition() public méthode

public GetEdgePosition ( string id, bool localSpace = false ) : Vector3
id string
localSpace bool
Résultat Vector3

ProcessMinimalCycles() public méthode

public ProcessMinimalCycles ( ) : void
Résultat void

ProcessPrimitiveSubPrimitives() public méthode

public ProcessPrimitiveSubPrimitives ( int index = -1 ) : void
index int
Résultat void

ProcessPrimitives() public méthode

public ProcessPrimitives ( int index = -1 ) : void
index int
Résultat void

RemoveNode() public méthode

public RemoveNode ( string id ) : void
id string
Résultat void

this() public méthode

public this ( int index ) : Node
index int
Résultat Node

this() public méthode

public this ( string id ) : Node
id string
Résultat Node

Property Details

edges public_oe property

public List edges
Résultat List

nodes public_oe property

public List nodes
Résultat List