Wm4DelPolyhedronFace.h

Go to the documentation of this file.
00001 // Wild Magic Source Code
00002 // David Eberly
00003 // http://www.geometrictools.com
00004 // Copyright (c) 1998-2007
00005 //
00006 // This library is free software; you can redistribute it and/or modify it
00007 // under the terms of the GNU Lesser General Public License as published by
00008 // the Free Software Foundation; either version 2.1 of the License, or (at
00009 // your option) any later version.  The license is available for reading at
00010 // either of the locations:
00011 //     http://www.gnu.org/copyleft/lgpl.html
00012 //     http://www.geometrictools.com/License/WildMagicLicense.pdf
00013 // The license applies to versions 0 through 4 of Wild Magic.
00014 //
00015 // Version: 4.0.0 (2006/06/28)
00016 
00017 #ifndef WM4DELPOLYHEDRONFACE_H
00018 #define WM4DELPOLYHEDRONFACE_H
00019 
00020 #include "Wm4FoundationLIB.h"
00021 #include "Wm4ETManifoldMesh.h"
00022 #include "Wm4DelTetrahedron.h"
00023 
00024 namespace Wm4
00025 {
00026 
00027 template <class Real>
00028 class WM4_FOUNDATION_ITEM DelPolyhedronFace : public ETManifoldMesh::Triangle
00029 {
00030 public:
00031     DelPolyhedronFace (int iV0 = -1, int iV1 = -1, int iV2 = -1,
00032         int iNullIndex = -1, DelTetrahedron<Real>* pkTri = 0);
00033 
00034     static ETManifoldMesh::TPtr TCreator (int iV0, int iV1, int iV2);
00035 
00036     int NullIndex;
00037     DelTetrahedron<Real>* Tetra;
00038 };
00039 
00040 typedef DelPolyhedronFace<float> DelPolyhedronFacef;
00041 typedef DelPolyhedronFace<double> DelPolyhedronFaced;
00042 
00043 }
00044 
00045 #endif

Generated on Wed Nov 23 19:01:03 2011 for FreeCAD by  doxygen 1.6.1