C# Class Voronoi.Line

Consists of 2 points
Mostra file Open project: TobieD/City-Generator Class Usage Examples

Public Properties

Property Type Description
CellLeft Cell
CellRight Cell
End Point
Intersect Point
Intersected bool
Left Point
Right Point
Start Point
bSharedBetweenCells bool

Public Methods

Method 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 method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Line() public method

public Line ( Point p1, Point p2 ) : System
p1 Point
p2 Point
return System

RemoveSharedLine() public method

Remove this line from one of the 2 cells
public RemoveSharedLine ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

operator() public static method

Test if two lines are eual
public static operator ( ) : bool
return bool

Property Details

CellLeft public_oe property

public Cell,Voronoi CellLeft
return Cell

CellRight public_oe property

public Cell,Voronoi CellRight
return Cell

End public_oe property

public Point End
return Point

Intersect public_oe property

public Point Intersect
return Point

Intersected public_oe property

public bool Intersected
return bool

Left public_oe property

public Point Left
return Point

Right public_oe property

public Point Right
return Point

Start public_oe property

public Point Start
return Point

bSharedBetweenCells public_oe property

public bool bSharedBetweenCells
return bool