CGAL 6.0 - 2D Periodic Triangulations
Loading...
Searching...
No Matches
GraphicsSceneOptionsPeriodic2Triangulation2 Class Reference

#include <Concepts/GraphicsSceneOptionsPeriodic2Triangulation2.h>

Definition

The concept GraphicsSceneOptionsPeriodic2Triangulation2 defines data and methods used to tune the way that the cells of a Periodic_2_triangulation_2 are considered for drawing or to be added into a graphics scene.

Refines
GraphicsSceneOptions
Has models
CGAL::Graphics_scene_options_periodic_2_triangulation_2<DS, VertexDescriptor, EdgeDescriptor, FaceDescriptor>

Public Member Functions

bool draw_domain () const
 returns true if the domain of the Periodic_2_triangulation_2 must be drawn, false otherwise.
 
void draw_domain (bool b)
 sets the draw domain value to b.
 
void toggle_draw_domain ()
 toggles the draw domain value.
 
DS::Iterator_type display_type () const
 returns the type of the display (STORED, UNIQUE, STORED_COVER_DOMAIN or UNIQUE_COVER_DOMAIN).
 
void increase_display_type ()
 set the display type to the next type (in the ordered circular list STORED, UNIQUE, STORED_COVER_DOMAIN, UNIQUE_COVER_DOMAIN).
 
const CGAL::IO::Colordomain_color () const
 returns the color used to draw the domain.
 

Member Function Documentation

◆ draw_domain()

bool GraphicsSceneOptionsPeriodic2Triangulation2::draw_domain ( ) const

returns true if the domain of the Periodic_2_triangulation_2 must be drawn, false otherwise.

Returns false by default.