C# Class Voronoi.Line

Consists of 2 points
Afficher le fichier Open project: TobieD/City-Generator Class Usage Examples

Méthodes publiques

Свойство Type Description
CellLeft Cell
CellRight Cell
End Point
Intersect Point
Intersected bool
Left Point
Right Point
Start Point
bSharedBetweenCells bool

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
Line ( Point p1, Point p2 ) : System
RemoveSharedLine ( ) : void

Remove this line from one of the 2 cells

ToString ( ) : string
operator ( ) : bool

Test if two lines are eual

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Line() public méthode

public Line ( Point p1, Point p2 ) : System
p1 Point
p2 Point
Résultat System

RemoveSharedLine() public méthode

Remove this line from one of the 2 cells
public RemoveSharedLine ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

Test if two lines are eual
public static operator ( ) : bool
Résultat bool

Property Details

CellLeft public_oe property

public Cell,Voronoi CellLeft
Résultat Cell

CellRight public_oe property

public Cell,Voronoi CellRight
Résultat Cell

End public_oe property

public Point End
Résultat Point

Intersect public_oe property

public Point Intersect
Résultat Point

Intersected public_oe property

public bool Intersected
Résultat bool

Left public_oe property

public Point Left
Résultat Point

Right public_oe property

public Point Right
Résultat Point

Start public_oe property

public Point Start
Résultat Point

bSharedBetweenCells public_oe property

public bool bSharedBetweenCells
Résultat bool