C# 클래스 teapot2.Form1

파일 보기 프로젝트 열기: gousiosg/teapots

공개 메소드들

메소드 설명
Form1 ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
Distance ( PointF a, PointF b ) : double
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Main ( ) : void
RandomColor ( ) : Color
TooSmall ( PointF points ) : bool
hasHorizontal ( PointF ps ) : bool

Check if triangle has an horizontal line

hasVertical ( PointF ps ) : bool

Check if triangle has a vertical line

newTriangles ( PointF triangle, int stack ) : IEnumerable
readTriangles ( ) : IEnumerable
splitHorizontal ( PointF points ) : IEnumerable

Split the triangle in East - West orientation

splitVertical ( PointF points ) : IEnumerable

Split the triangle in two parts, North and South

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Form1() 공개 메소드

public Form1 ( ) : System
리턴 System