1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | cfMesh: A library for mesh generation
5 \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
6 \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of cfMesh.
11 cfMesh is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation; either version 3 of the License, or (at your
14 option) any later version.
16 cfMesh is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with cfMesh. If not, see <http://www.gnu.org/licenses/>.
28 Generates meta data of the surface mesh. It contains:
30 The number of triangles
32 The number of feature edges
33 The number of subsets, names, and the number of elements in each subset
38 \*---------------------------------------------------------------------------*/
40 #ifndef triSurfaceMetaData_H
41 #define triSurfaceMetaData_H
44 #include "dictionary.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 /*---------------------------------------------------------------------------*\
52 Class triSurfaceMetaData Declaration
53 \*---------------------------------------------------------------------------*/
55 class triSurfaceMetaData
58 //- const reference to triSurf
61 //- patches/subsets for removal
64 // Private member functions
65 //- create dictionary with meta data
66 void createMetaData();
68 //- Disallow default bitwise copy construct
69 triSurfaceMetaData(const triSurfaceMetaData&);
71 //- Disallow default bitwise assignment
72 void operator=(const triSurfaceMetaData&);
78 //- Construct from triSurf
79 triSurfaceMetaData(const triSurf& surface);
83 ~triSurfaceMetaData();
88 //- return a constant reference to meta data
89 const dictionary& metaData() const
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97 } // End namespace Foam
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 // ************************************************************************* //