added short names support

This commit is contained in:
Menelaos Karavelas 2003-05-08 08:39:03 +00:00
parent 7aad287678
commit c21fa93cf2
6 changed files with 60 additions and 5 deletions

View File

@ -30,6 +30,8 @@
#include <vector>
#include <map>
#include <CGAL/Apollonius_graph_short_names_2.h>
#include <CGAL/Triangulation_2.h>
#include <CGAL/Apollonius_graph_data_structure_2.h>
#include <CGAL/Apollonius_graph_face_base_2.h>
@ -168,10 +170,11 @@ public:
typedef Site_2 value_type; // to have a back_inserter
typedef const value_type& const_reference;
typedef value_type& reference;
private:
typedef struct Vertex_iterator {};
typedef struct Face_iterator {};
typedef struct Edge_iterator {};
public:
struct Vertex_iterator {};
struct Face_iterator {};
struct Edge_iterator {};
protected:
// some more local types

View File

@ -27,6 +27,10 @@
#ifndef CGAL_APOLLONIUS_GRAPH_FACE_BASE_2_H
#define CGAL_APOLLONIUS_GRAPH_FACE_BASE_2_H
#include <CGAL/Apollonius_graph_short_names_2.h>
#include <CGAL/Triangulation_ds_face_base_2.h>
#include <CGAL/triangulation_assertions.h>

View File

@ -27,9 +27,12 @@
#ifndef CGAL_APOLLONIUS_GRAPH_HIERARCHY_2_H
#define CGAL_APOLLONIUS_GRAPH_HIERARCHY_2_H
#include <CGAL/Random.h>
#include <map>
#include <CGAL/Apollonius_graph_short_names_2.h>
#include <CGAL/Random.h>
#include <CGAL/Apollonius_graph_2.h>
#include <CGAL/Apollonius_graph_data_structure_2.h>
#include <CGAL/Apollonius_graph_vertex_base_2.h>

View File

@ -0,0 +1,40 @@
// ======================================================================
//
// Copyright (c) 2003 The CGAL Consortium
//
// This software and related documentation is part of an INTERNAL release
// of the Computational Geometry Algorithms Library (CGAL). It is not
// intended for general use.
//
// ----------------------------------------------------------------------
//
// release :
// release_date :
//
// file : include/CGAL/Apollonius_graph_short_names_2.h
// package : Apollonius_graph_2
// source : $RCSfile$
// revision : $Revision$
// revision_date : $Date$
// author(s) : Menelaos Karavelas <mkaravel@cse.nd.edu>
//
// coordinator :
//
// ======================================================================
#ifndef CGAL_APOLLONIUS_GRAPH_SHORT_NAMES_2_H
#define CGAL_APOLLONIUS_GRAPH_SHORT_NAMES_2_H
#define Apollonius_graph_2 Ag2
#define Apollonius_graph_hiearchy_2 Agh2
#define Apollonius_graph_data_structure_2 Agds2
#define Apollonius_graph_vertex_base_2 Agvb2
#define Apollonius_graph_face_base_2 Agfb2
#define Apollonius_graph_euclidean_traits_2 Aget2
#endif //CGAL_APOLLONIUS_GRAPH_SHORT_NAMES_2_H

View File

@ -28,6 +28,9 @@
#define CGAL_APOLLONIUS_GRAPH_VERTEX_BASE_2_H
#include <list>
#include <CGAL/Apollonius_graph_short_names_2.h>
#include <CGAL/Triangulation_vertex_base_2.h>
#include <CGAL/triangulation_assertions.h>

View File

@ -28,6 +28,8 @@
#include <iostream>
#include <CGAL/basic.h>
#include <CGAL/Apollonius_graph_short_names_2.h>
CGAL_BEGIN_NAMESPACE