mirror of https://github.com/CGAL/cgal
63 lines
1.9 KiB
C++
63 lines
1.9 KiB
C++
// ============================================================================
|
|
//
|
|
// Copyright (c) 1997 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 : $CGAL_Revision: $
|
|
// release_date : $CGAL_Date: $
|
|
//
|
|
// file : include/CGAL/Polyhedron_items_3.h
|
|
// package : HalfedgeDS 3.3 (27 Sep 2000)
|
|
// chapter : Halfedge Data Structures
|
|
//
|
|
// revision : $Revision$
|
|
// revision_date : $Date$
|
|
//
|
|
// author(s) : Lutz Kettner <kettner@mpi-sb.mpg.de>
|
|
// maintainer :
|
|
// coordinator : MPI Saarbruecken
|
|
//
|
|
// Default items class for Polyhedron_3 (Vertex, Halfedge, Face).
|
|
// ============================================================================
|
|
|
|
#ifndef CGAL_POLYHEDRON_ITEMS_3_H
|
|
#define CGAL_POLYHEDRON_ITEMS_3_H 1
|
|
#ifndef CGAL_HALFEDGEDS_VERTEX_BASE_H
|
|
#include <CGAL/HalfedgeDS_vertex_base.h>
|
|
#endif
|
|
#ifndef CGAL_HALFEDGEDS_HALFEDGE_BASE_H
|
|
#include <CGAL/HalfedgeDS_halfedge_base.h>
|
|
#endif
|
|
#ifndef CGAL_HALFEDGEDS_FACE_BASE_H
|
|
#include <CGAL/HalfedgeDS_face_base.h>
|
|
#endif
|
|
|
|
CGAL_BEGIN_NAMESPACE
|
|
|
|
class Polyhedron_items_3 {
|
|
public:
|
|
template < class Refs, class Traits>
|
|
struct Vertex_wrapper {
|
|
typedef typename Traits::Point_3 Point;
|
|
typedef HalfedgeDS_vertex_base< Refs, Tag_true, Point> Vertex;
|
|
};
|
|
template < class Refs, class Traits>
|
|
struct Halfedge_wrapper {
|
|
typedef HalfedgeDS_halfedge_base< Refs> Halfedge;
|
|
};
|
|
template < class Refs, class Traits>
|
|
struct Face_wrapper {
|
|
typedef typename Traits::Plane_3 Plane;
|
|
typedef HalfedgeDS_face_base< Refs, Tag_true, Plane> Face;
|
|
};
|
|
};
|
|
|
|
CGAL_END_NAMESPACE
|
|
#endif // CGAL_POLYHEDRON_ITEMS_3_H //
|
|
// EOF //
|