Class

CGAL::Qt::ConstrainedTriangulationGraphicsItem<CT>

Definition

An object of type Qt::ConstrainedTriangulationGraphicsItem<CT> is a graphics item that encapsulates a constrained triangulation.

#include <CGAL/Qt/ConstrainedTriangulationGraphicsItem.h>

Parameters

The template parameter of Qt::ConstrainedTriangulationGraphicsItem<CT> must be a Cgal 2D constrained triangulation class.

Inherits From

Qt::TriangulationGraphicsItem

Creation

Qt::ConstrainedTriangulationGraphicsItem<CT> ctgi ( CT* ct);
Constructs a graphics item for triangulation ct.

Operations

QPen ctgi.constraintsPen() () const Returns the pen used to draw constraints.

void ctgi.setConstraintsPen() ( QPen p)
Sets the pen used to draw constraints.