CGAL 6.0 - 2D Voronoi Diagram Adaptor
|
#include <Concepts/GraphicsSceneOptionsVoronoiDiagram2.h>
The concept GraphicsSceneOptionsVoronoiDiagram2
defines data and methods used to tune the way that the cells of a Voronoi_diagram_2
are considered for drawing or to be added into a graphics scene.
GraphicsSceneOptions
Public Member Functions | |
const CGAL::IO::Color & | dual_vertex_color () const |
returns the color of the dual vertices. | |
void | dual_vertex_color (const CGAL::IO::Color &c) |
sets the color of dual vertices to c . | |
const CGAL::IO::Color & | ray_color () const |
returns the color of rays. | |
void | ray_color (const CGAL::IO::Color &c) |
sets the color of rays to c . | |
const CGAL::IO::Color & | bisector_color () const |
returns the color of the bisectors. | |
void | bisector_color (const CGAL::IO::Color &c) |
sets the color of bisectors to c . | |
bool | draw_voronoi_vertices () const |
returns true if the voronoi vertices must be drawn, false otherwise. | |
void | draw_voronoi_vertices (bool b) |
sets the draw of voronoi vertices to b . | |
void | toggle_draw_voronoi_vertices () |
toggles the draw voronoi vertices value. | |
bool | draw_dual_vertices () const |
returns true if the dual vertices must be drawn, false otherwise. | |
void | draw_dual_vertices () |
sets the draw of dual vertices to b . | |
void | toggle_draw_dual_vertices () |
toggles the draw dual vertices value. | |
bool GraphicsSceneOptionsVoronoiDiagram2::draw_dual_vertices | ( | ) | const |
returns true
if the dual vertices must be drawn, false
otherwise.
Returns false
by default.
bool GraphicsSceneOptionsVoronoiDiagram2::draw_voronoi_vertices | ( | ) | const |
returns true
if the voronoi vertices must be drawn, false
otherwise.
Returns false
by default.