C# Class Delaunay.Site

Inheritance: ICoord, IComparable
Mostra file Open project: ngarside/UnityDelaunay Class Usage Examples

Private Properties

Property Type Description
AddEdge void
Clear void
ClipToBounds List
CloseEnough bool
Compare float
Connect void
Connect void
Dist float
Init Site
Move void
NearestEdge Edge
NeighborSite Site
NeighborSites List
Region List
ReorderEdges void
SortSites void

Public Methods

Method Description
Coord ( ) : Vector2
Create ( Vector2 p, int index, float weight, uint color ) : Site
Dispose ( ) : void
Site ( Type pce, Vector2 p, int index, float weight, uint color ) : System
ToString ( ) : string

Private Methods

Method Description
AddEdge ( Edge edge ) : void
Clear ( ) : void
ClipToBounds ( Rect bounds ) : List
CloseEnough ( Vector2 p0, Vector2 p1 ) : bool
Compare ( Site s1, Site s2 ) : float
Connect ( List Vector2s, int j, Rect bounds ) : void
Connect ( List Vector2s, int j, Rect bounds, bool closingUp ) : void
Dist ( ICoord p ) : float
Init ( Vector2 p, int index, float weight, uint color ) : Site
Move ( Vector2 p ) : void
NearestEdge ( ) : Edge
NeighborSite ( Edge edge ) : Site
NeighborSites ( ) : List
Region ( Rect clippingBounds ) : List
ReorderEdges ( ) : void
SortSites ( List sites ) : void

Method Details

Coord() public method

public Coord ( ) : Vector2
return Vector2

Create() public static method

public static Create ( Vector2 p, int index, float weight, uint color ) : Site
p Vector2
index int
weight float
color uint
return Site

Dispose() public method

public Dispose ( ) : void
return void

Site() public method

public Site ( Type pce, Vector2 p, int index, float weight, uint color ) : System
pce System.Type
p Vector2
index int
weight float
color uint
return System

ToString() public method

public ToString ( ) : string
return string