\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.4 - CGAL and the Qt Graphics View Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Qt::CircularArcGraphicsItem< CK > Class Template Reference

#include <CGAL/Qt/CircularArcGraphicsItem.h>

Inherits from

CGAL::Qt::GraphicsItem.

Definition

An object of type CircularArcGraphicsItem is a graphics item that encapsulates a circular arc.

Template Parameters
CKmust be a CGAL CircularKernel.

Creation

 CircularArcGraphicsItem ()
 Constructs a graphics item for a circular arc. More...
 

Operations

QPen edgesPen ()() const
 Returns the pen used to draw edges. More...
 
void setEdgesPen ()(const QPen &p)
 Sets the pen used to draw edges. More...
 
void setArc (const Circular_arc_2< CK > &ca2)
 Sets the circular arc. More...
 

Constructor & Destructor Documentation

Constructs a graphics item for a circular arc.

Member Function Documentation

template<typename CK >
QPen CGAL::Qt::CircularArcGraphicsItem< CK >::edgesPen ( ) const

Returns the pen used to draw edges.

template<typename CK >
void CGAL::Qt::CircularArcGraphicsItem< CK >::setArc ( const Circular_arc_2< CK > &  ca2)

Sets the circular arc.

template<typename CK >
void CGAL::Qt::CircularArcGraphicsItem< CK >::setEdgesPen ( ) const

Sets the pen used to draw edges.