Node: Circles for Regular Polygons, Previous: Querying Regular Polygons, Up: Regular Polygon Reference
Circle in_circle (void) | const function |
Returns the enclosed Circle of the Reg_Polygon .
Point P(0, -1, 1); Reg_Polygon h(P, 6, 4, 15, 12, 11.5); h.filldraw(black, gray); Circle c = h.in_circle(); c.unfilldraw(black);
|
Circle draw_in_circle ([const Color& ddraw_color = *Colors::default_color , [const string ddashed = "", [const string] ppen = "", [Picture& picture = current_picture ]]])
|
const function |
Circle draw_in_circle ([Picture& picture = current_picture , [const Color& ddraw_color = *Colors::default_color , [const string ddashed = "", [const string] ppen = ""]]])
|
const function |
Draws and returns the enclosed Circle of the Reg_Polygon .
Point P(0, 1, 1); Reg_Polygon h(P, 7, 4, 80, 2, 5); h.draw(black, "evenly"); h.draw_in_circle();
|
Circle out_circle (void) | const function |
Returns the surrounding Circle of the Reg_Polygon .
Point P(0, -1, 1); Reg_Polygon h(P, 6, 4, 15, 12, 11.5); Circle c = h.out_circle(); c.filldraw(black, gray); h.unfilldraw(black);
|
Circle draw_out_circle ([const Color& ddraw_color = *Colors::default_color , [const string ddashed = "", [const string] ppen = "", [Picture& picture = current_picture ]]])
|
const function |
Circle draw_out_circle ([Picture& picture = current_picture , [const Color& ddraw_color = *Colors::default_color , [const string ddashed = "", [const string] ppen = ""]]])
|
const function |
Draws and returns the surrounding Circle of the Reg_Polygon .
Point P(0, 1, 1); Reg_Polygon h(P, 7, 4, 80, 2, 5); h.draw(black, "evenly"); h.draw_out_circle();
|