C# 클래스 Voronoi.Line

Consists of 2 points
파일 보기 프로젝트 열기: TobieD/City-Generator 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CellLeft Cell
CellRight Cell
End Point
Intersect Point
Intersected bool
Left Point
Right Point
Start Point
bSharedBetweenCells bool

공개 메소드들

메소드 설명
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

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Line() 공개 메소드

public Line ( Point p1, Point p2 ) : System
p1 Point
p2 Point
리턴 System

RemoveSharedLine() 공개 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

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

프로퍼티 상세

CellLeft 공개적으로 프로퍼티

public Cell,Voronoi CellLeft
리턴 Cell

CellRight 공개적으로 프로퍼티

public Cell,Voronoi CellRight
리턴 Cell

End 공개적으로 프로퍼티

public Point End
리턴 Point

Intersect 공개적으로 프로퍼티

public Point Intersect
리턴 Point

Intersected 공개적으로 프로퍼티

public bool Intersected
리턴 bool

Left 공개적으로 프로퍼티

public Point Left
리턴 Point

Right 공개적으로 프로퍼티

public Point Right
리턴 Point

Start 공개적으로 프로퍼티

public Point Start
리턴 Point

bSharedBetweenCells 공개적으로 프로퍼티

public bool bSharedBetweenCells
리턴 bool