CGAL 5.6.2 - CGAL and the Boost Graph Library
CGAL and the Boost Graph Library Reference

emst-detail.png
Andreas Fabri, Fernando Cacciola, Philipp Moeller, and Ron Wein
This package provides a framework for interfacing CGAL data structures with the algorithms of the Boost Graph Library, or BGL for short. It allows to run graph algorithms directly on CGAL data structures which are model of the BGL graph concepts, for example the shortest path algorithm on a Delaunay triangulation in order to compute the Euclidean minimum spanning tree. Furthermore, it introduces several new graph concepts describing halfedge data structures.
Introduced in: CGAL 3.3
BibTeX: cgal:cfw-cbgl-24b
License: LGPL

Classified Reference Pages

Concepts

Properties

CGAL Classes Adapted for the Graph API

A number of CGAL structures have been adapted as graphs for the BGL. All adapted types are listed here. The pages document which concepts they model, the properties they support, and any possible caveats that a user might encounter.

Helper Classes

Helper Functions

Iterators

Circulators

Euler Operations

Selection

Conversion Functions

Graph Adaptors

Partitioning Methods

I/O Functions

Modules

 Specializations of boost::graph_traits
 The BGL defines the class template boost::graph_traits as a uniform interface to the properties and types of graph types.
 
 Named Parameters
 The algorithms of the Boost Graph Library (BGL) often have many parameters with default values that are appropriate for most cases.
 
 Concepts
 We extend the Boost Graph Library (BGL for short) with a set of new concepts.
 
 Properties
 The property tags model of the boost concept PropertyTag.
 
 Dynamic Properties
 The dynamic property tags enable to associate information to simplices of a FaceGraph on the fly.
 
 External Indices
 A number of BGL and CGAL algorithms require the graph to have (initialized) integer-like indices for its vertices, edges, or faces.
 
 Helper Functions
 Generic convenience functions for testing if an edge is a border edge, if a mesh is triangular, for conversion between models of different FaceGraph concepts, etc.
 
 Iterators and Circulators
 Several iterators and circulators are provided that enable, for example, to iterate through the halfedges incident to a given face or vertex.
 
 Selection Functions
 Several functions to enlarge or reduce a k-ring selection of vertices, edges, or faces.
 
 Graph Adaptors
 Graph adaptors are classes that build an interface over an existing graph to provide new functionalities.
 
 Euler Operations
 We call high-level operations that maintain the validity of a halfedge graph Euler Operations.
 
 Partitioning Operations
 Methods to split a mesh into subdomains, using the library METIS or a graphcut implementation.
 
 I/O Functions
 Methods to read and write graphs.
 

Files

file  graph_traits_inheritance_macros.h
 Convenience header file defining the necessary specializations and overloads to make a class, inheriting from a model of a face graph concept, a model of that face graph concept itself.