C# Class teapot2.Form1

Afficher le fichier Open project: gousiosg/teapots

Méthodes publiques

Méthode Description
Form1 ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

Dispose() protected méthode

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

Form1() public méthode

public Form1 ( ) : System
Résultat System