cgma
PointLoopFacetor.hpp
Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------------
00002 // Class: PointLoopFacetor
00003 // Description:
00004 // Creates a set of CubitFacets which is a Delauney triagulation of the boundary
00005 // points.  No interior points are added.  The points form a closed loop, and may
00006 // consist of several loops.  The first loop must be the exterior loop, followed by
00007 // any internal loops (or holes).
00008 // Creator: David R. White
00009 // Owner: David R. White
00010 // Creation Date: 3/1/2003
00011 //------------------------------------------------------------------------------------
00012 #ifndef POINTLOOPFACETOR_HPP
00013 #define POINTLOOPFACETOR_HPP
00014 
00015 template <class X> class DLIList;
00016 class CubitPoint;
00017 class CubitFacet;
00018 
00019 typedef DLIList<CubitPoint*> PointList;
00020 typedef DLIList<PointList*> PointLoopList;
00021 #include "CubitDefines.h"
00022 
00023 class PointLoopFacetor
00024 {
00025 private:
00026   
00027 public:
00028   PointLoopFacetor()
00029     {}
00030   ~PointLoopFacetor()
00031     {}
00032   static CubitStatus generate_facets( PointLoopList &boundary_loops,
00033                                       DLIList<CubitFacet*> &resulting_triangles);
00037 
00038   static void write_xy(PointLoopList &boundary_loops);
00039   static void write_xyz(PointLoopList &boundary_loops);
00040   
00041 };
00042 #endif
00043 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines