cgal/GraphicsView/doc_tex/GraphicsView_ref/VoronoiGraphicsItem.tex

39 lines
936 B
TeX

\ccDefGlobalScope{CGAL::}
\begin{ccRefClass}[Qt::]{VoronoiGraphicsItem<DT>}
\ccDefinition An object of type \ccRefName\ is a graphics item that
encapsulates a Delaunay triangulation in order to draw its dual, the
Voronoi diagram.
\ccInclude{CGAL/Qt/VoronoiGraphicsItem.h}
\ccParameters
The template parameter \ccc{DT} of \ccRefName\ must be a
\cgal\ 2D Delaunay triangulation class.
\ccInheritsFrom
\ccc{Qt::GraphicsItem}
\ccCreation
\ccCreationVariable{vgi}
\ccConstructor{VoronoiGraphicsItem<DT>(DT* dt);}{Constructs a graphics item for the dual of the
Delaunay triangulation \ccc{dt}.}
\ccOperations
\ccMethod{QPen edgesPen()() const;}{Get the pen that is used to draw edges.}
\ccMethod{void setEdgesPen()(const QPen& p);}{Set the pen that is used to draw edges.}
\ccMethod{bool drawEdges();}{Property to switch drawing of edges on or off.}
\ccMethod{bool setDrawEdges(bool b);}{Set the property.}
\end{ccRefClass}