CGAL 4.9 - Cone-Based Spanners
|
Classes | |
class | CGAL::Construct_yao_graph_2< Traits_, Graph_ > |
A template functor for constructing Yao graphs with a given set of 2D points and a given initial direction for the cone boundaries. More... | |
class | CGAL::Compute_cone_boundaries_2< Traits_ > |
The functor for computing the directions of cone boundaries with a given cone number and a given initial direction. More... | |
class | CGAL::Construct_theta_graph_2< Traits_, Graph_ > |
A template functor for constructing Theta graphs with a given set of 2D points and a given initial direction for the cone boundaries. More... | |
Functions | |
template<typename Graph > | |
void | CGAL::gnuplot_output_2 (const Graph &g, const std::string &prefix) |
Output a set of files used by Gnuplot to plot g . More... | |
void CGAL::gnuplot_output_2 | ( | const Graph & | g, |
const std::string & | prefix | ||
) |
Output a set of files used by Gnuplot to plot g
.
The files that are generated for Gnuplot are: (1) prefix.v (vertex list) (2) prefix.plt (Gnuplot script), This script will read prefix.v as input to plot the vertex list. The edge list is also included in this script.
Notes: (1) If these files already exists, this function will overwrite these files. (2) Parallel and self-edges cannot be plotted.
Graph | The type of the graph to be plotted. For this function to work, the graph type must be boost::adjacency_list with CGAL::Point_2 as the VertexProperties . |
g | A boost::adjacency_list graph with CGAL::Point_2 as the VertexProperties to be plotted |
prefix | The prefix of the output files names |
#include <CGAL/gnuplot_output_2.h>