The open source CFD toolbox
CGALTriangulation3Ddefs.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2012-2015 OpenFOAM Foundation
9-------------------------------------------------------------------------------
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Typedefs
27 CGALTriangulation3Ddefs
28
29Description
30 CGAL data structures used for 3D Delaunay meshing.
31
32 Define CGAL_INEXACT to use Exact_predicates_inexact_constructions kernel
33 otherwise the more robust but much less efficient
34 Exact_predicates_exact_constructions will be used.
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef CGALTriangulation3Ddefs_H
39#define CGALTriangulation3Ddefs_H
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
44
45#include "indexedVertex.H"
46#include "indexedCell.H"
47
50
51typedef CGAL::Compact_location CompactLocator;
52typedef CGAL::Fast_location FastLocator;
53
54typedef CGAL::Triangulation_data_structure_3<Vb, Cb> Tds;
55typedef CGAL::Delaunay_triangulation_3<K, Tds, CompactLocator> Delaunay;
56typedef CGAL::Delaunay_triangulation_3<K, Tds, FastLocator> CellSizeDelaunay;
57
58
59// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
60
61#endif
62
63// ************************************************************************* //
CGAL::Triangulation_data_structure_3< Vb, Cb > Tds
CGAL::indexedVertex< K > Vb
CGAL::Delaunay_triangulation_3< K, Tds, FastLocator > CellSizeDelaunay
CGAL::Compact_location CompactLocator
CGAL::indexedCell< K > Cb
CGAL::Fast_location FastLocator
CGAL::Delaunay_triangulation_3< K, Tds, CompactLocator > Delaunay
An indexed form of CGAL::Triangulation_cell_base_3<K> used to keep track of the Delaunay cells (tets)...
Definition: indexedCell.H:95
An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep track of the Delaunay vertices i...
Definition: indexedVertex.H:88