CGAL 6.1 - 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::Color & domain_color () const
 returns the color used to draw the domain.
 

Member Function Documentation

◆ display_type()

DS::Iterator_type GraphicsSceneOptionsPeriodic2Triangulation2::display_type ( ) const

returns the type of the display (STORED, UNIQUE, STORED_COVER_DOMAIN or UNIQUE_COVER_DOMAIN).

◆ domain_color()

const CGAL::IO::Color & GraphicsSceneOptionsPeriodic2Triangulation2::domain_color ( ) const

returns the color used to draw the domain.

◆ draw_domain() [1/2]

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.

◆ draw_domain() [2/2]

void GraphicsSceneOptionsPeriodic2Triangulation2::draw_domain ( bool  b)

sets the draw domain value to b.

◆ increase_display_type()

void GraphicsSceneOptionsPeriodic2Triangulation2::increase_display_type ( )

set the display type to the next type (in the ordered circular list STORED, UNIQUE, STORED_COVER_DOMAIN, UNIQUE_COVER_DOMAIN).

◆ toggle_draw_domain()

void GraphicsSceneOptionsPeriodic2Triangulation2::toggle_draw_domain ( )

toggles the draw domain value.