C# Class Delaunay.Site

Inheritance: ICoord, IComparable
Afficher le fichier Open project: ngarside/UnityDelaunay Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

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

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

public Coord ( ) : Vector2
Résultat Vector2

Create() public static méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Site() public méthode

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

ToString() public méthode

public ToString ( ) : string
Résultat string