C# Класс teapot2.Form1

Показать файл Открыть проект

Открытые методы

Метод Описание
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