CGAL 6.3 - 1D Arrangements
Loading...
Searching...
No Matches
OverlayVisitor Concept Reference

Definition

A model of the OverlayVisitor concept contains callback functions invoked while the overlay operation of two input arrangements progresses. Models of the concept are used by the free function Arrangement_on_curve_1::overlay() to maintain the auxiliary data stored with the cells (i.e., vertices and edges) of the resulting overlaid arrangement, based on the contents of the input cells.

Has models
CGAL::Arrangement_on_curve_1::Default_overlay_visitor<ArrangementA, ArrangementB, ArrangementR>
CGAL::Arrangement_on_curve_1::Copy_overlay_visitor<ArrangementA, ArrangementB, ArrangementR>
See also
overlay

Public Member Functions

void create_vertex (Vertex_const_descriptor_a v_a, Vertex_const_descriptor_b v_b, Vertex_descriptor_r v_res)
 updates the vertex identified by the descriptor v_res, which is induced by the vertices of the two input arrangements identified by the descriptors v_a and v_b, repsectively.
void create_vertex (Vertex_const_descriptor_a v_a, Edge_const_descriptor_b e_b, Vertex_descriptor_r v_res)
 updates the vertex identified by the descriptor v_res, which is induced by tyhe vertex of the first input arrangements and the edge of the second input arrangement, identified by the descriptors v_a and e_b, repsectively.
void create_vertex (Edge_const_descriptor_a e_a, Vertex_const_descriptor_b v_b, Vertex_descriptor_r v_res)
 updates the vertex identified by the descriptor v_res, which is induced by the edge of the first input arrangements and the vertex of the second input arrangement, identified by the descriptors e_a and v_b, repsectively.
void create_edge (Edge_const_descriptor_a e_a, Edge_const_descriptor_b e_b, Edge_descriptor_r e_res)
 updates the vertex identified by the descriptor v_res, which is induced by the edges of the two input arrangements identified by the descriptors e_a and e_b, repsectively.

Public Attributes

typedef Vertex_const_descriptor_a
 a constant descriptor of a vertex in the first input arrangement.
typedef Vertex_const_descriptor_b
 a constant descriptor of a vertex in the second input arrangement.
typedef Vertex_descriptor_r
 a descriptor of a vertex in the output arrangement.
typedef Edge_const_descriptor_a
 a constant descriptor of an edge in the first input arrangement.
typedef Edge_const_descriptor_b
 a constant descriptor of an edge in the second input arrangement.
typedef Edge_descriptor_r
 a descriptor of an edge in the output arrangement.

#include <Concepts/OverlayVisitor.h>

Definition

A model of the OverlayVisitor concept contains callback functions invoked while the overlay operation of two input arrangements progresses. Models of the concept are used by the free function Arrangement_on_curve_1::overlay() to maintain the auxiliary data stored with the cells (i.e., vertices and edges) of the resulting overlaid arrangement, based on the contents of the input cells.

Has models
CGAL::Arrangement_on_curve_1::Default_overlay_visitor<ArrangementA, ArrangementB, ArrangementR>
CGAL::Arrangement_on_curve_1::Copy_overlay_visitor<ArrangementA, ArrangementB, ArrangementR>
See also
overlay

Public Member Functions

void create_vertex (Vertex_const_descriptor_a v_a, Vertex_const_descriptor_b v_b, Vertex_descriptor_r v_res)
 updates the vertex identified by the descriptor v_res, which is induced by the vertices of the two input arrangements identified by the descriptors v_a and v_b, repsectively.
void create_vertex (Vertex_const_descriptor_a v_a, Edge_const_descriptor_b e_b, Vertex_descriptor_r v_res)
 updates the vertex identified by the descriptor v_res, which is induced by tyhe vertex of the first input arrangements and the edge of the second input arrangement, identified by the descriptors v_a and e_b, repsectively.
void create_vertex (Edge_const_descriptor_a e_a, Vertex_const_descriptor_b v_b, Vertex_descriptor_r v_res)
 updates the vertex identified by the descriptor v_res, which is induced by the edge of the first input arrangements and the vertex of the second input arrangement, identified by the descriptors e_a and v_b, repsectively.
void create_edge (Edge_const_descriptor_a e_a, Edge_const_descriptor_b e_b, Edge_descriptor_r e_res)
 updates the vertex identified by the descriptor v_res, which is induced by the edges of the two input arrangements identified by the descriptors e_a and e_b, repsectively.

Public Attributes

typedef Vertex_const_descriptor_a
 a constant descriptor of a vertex in the first input arrangement.
typedef Vertex_const_descriptor_b
 a constant descriptor of a vertex in the second input arrangement.
typedef Vertex_descriptor_r
 a descriptor of a vertex in the output arrangement.
typedef Edge_const_descriptor_a
 a constant descriptor of an edge in the first input arrangement.
typedef Edge_const_descriptor_b
 a constant descriptor of an edge in the second input arrangement.
typedef Edge_descriptor_r
 a descriptor of an edge in the output arrangement.