C# Class Voronoi.Algorithms.FortuneHelpers.VNode

显示文件 Open project: TobieD/City-Generator Class Usage Examples

Public Methods

Method Description
CircleCheckDataNode ( VDataNode n, double ys ) : VCircleEvent
CleanUpTree ( VNode Root ) : void
EdgeToRightDataNode ( VDataNode Current ) : VEdgeNode
FindDataNode ( VNode Root, double ys, double x ) : VDataNode
FirstDataNode ( VNode Root ) : VDataNode
LeftDataNode ( VDataNode Current ) : VDataNode
ProcessCircleEvent ( VCircleEvent e, VNode Root, VoronoiGraph VG, double ys, VDataNode &CircleCheckList ) : VNode
ProcessDataEvent ( VDataEvent e, VNode Root, VoronoiGraph VG, double ys, VDataNode &CircleCheckList ) : VNode

Will return the new root (unchanged except in start-up)

Replace ( VNode ChildOld, VNode ChildNew ) : void
RightDataNode ( VDataNode Current ) : VDataNode

Method Details

CircleCheckDataNode() public static method

public static CircleCheckDataNode ( VDataNode n, double ys ) : VCircleEvent
n VDataNode
ys double
return VCircleEvent

CleanUpTree() public static method

public static CleanUpTree ( VNode Root ) : void
Root VNode
return void

EdgeToRightDataNode() public static method

public static EdgeToRightDataNode ( VDataNode Current ) : VEdgeNode
Current VDataNode
return VEdgeNode

FindDataNode() public static method

public static FindDataNode ( VNode Root, double ys, double x ) : VDataNode
Root VNode
ys double
x double
return VDataNode

FirstDataNode() public static method

public static FirstDataNode ( VNode Root ) : VDataNode
Root VNode
return VDataNode

LeftDataNode() public static method

public static LeftDataNode ( VDataNode Current ) : VDataNode
Current VDataNode
return VDataNode

ProcessCircleEvent() public static method

public static ProcessCircleEvent ( VCircleEvent e, VNode Root, VoronoiGraph VG, double ys, VDataNode &CircleCheckList ) : VNode
e VCircleEvent
Root VNode
VG VoronoiGraph
ys double
CircleCheckList VDataNode
return VNode

ProcessDataEvent() public static method

Will return the new root (unchanged except in start-up)
public static ProcessDataEvent ( VDataEvent e, VNode Root, VoronoiGraph VG, double ys, VDataNode &CircleCheckList ) : VNode
e VDataEvent
Root VNode
VG VoronoiGraph
ys double
CircleCheckList VDataNode
return VNode

Replace() public method

public Replace ( VNode ChildOld, VNode ChildNew ) : void
ChildOld VNode
ChildNew VNode
return void

RightDataNode() public static method

public static RightDataNode ( VDataNode Current ) : VDataNode
Current VDataNode
return VDataNode