CGAL 5.1 - CGAL and the Qt Graphics View Framework
CGAL::Qt::CircularArcGraphicsItem< CK > Class Template Reference

#include <CGAL/Qt/CircularArcGraphicsItem.h>

Inherits CGAL::Qt::GraphicsItem.

Definition

template<typename CK>
class CGAL::Qt::CircularArcGraphicsItem< CK >

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...
 

Additional Inherited Members

- Public Member Functions inherited from CGAL::Qt::GraphicsItem
virtual void modelChanged ()
 This slot must be provided by derived classes. More...
 

Constructor & Destructor Documentation

◆ CircularArcGraphicsItem()

Constructs a graphics item for a circular arc.

Member Function Documentation

◆ edgesPen()

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

Returns the pen used to draw edges.

◆ setArc()

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

Sets the circular arc.

◆ setEdgesPen()

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

Sets the pen used to draw edges.