Method | Description | |
---|---|---|
DrawRectangleRotated ( |
||
getVerticles ( int sides, int radius, int startingAngle, Point center ) : Point[] | ||
instancePosition ( Form1 form, Point p1 ) : |
||
moveTowardsPoint ( Point a, Point b, int distance ) : Point | ||
placeFree ( Form1 form, Point p1, int Depth ) : bool | ||
pointDirection ( Point p1, Point p2 ) : float |
Method | Description | |
---|---|---|
DegreesToXY ( float degrees, float radius, Point origin ) : Point | ||
XYToDegrees ( Point xy, Point origin ) : float |
public static DrawRectangleRotated ( |
||
g | ||
r | ||
angle | float | |
pen | ||
return | void |
public static getVerticles ( int sides, int radius, int startingAngle, Point center ) : Point[] | ||
sides | int | |
radius | int | |
startingAngle | int | |
center | Point | |
return | Point[] |
public static instancePosition ( Form1 form, Point p1 ) : |
||
form | Form1 | |
p1 | Point | |
return |
public static moveTowardsPoint ( Point a, Point b, int distance ) : Point | ||
a | Point | |
b | Point | |
distance | int | |
return | Point |
public static placeFree ( Form1 form, Point p1, int Depth ) : bool | ||
form | Form1 | |
p1 | Point | |
Depth | int | |
return | bool |
public static pointDirection ( Point p1, Point p2 ) : float | ||
p1 | Point | |
p2 | Point | |
return | float |