00001
00002
00008 #if !defined(__geom_mesh_simplicial_insert_h__)
00009 #define __geom_mesh_simplicial_insert_h__
00010
00011 #include "SimpMeshRed.h"
00012
00013 BEGIN_NAMESPACE_GEOM
00014
00015
00017 template<int N, typename T,
00018 template<class> class Node,
00019 template<class> class Cell,
00020 template<class,class> class Cont>
00021 typename SimpMeshRed<N,1,T,Node,Cell,Cont>::CellIterator
00022 insertCell
00023 (SimpMeshRed<N,1,T,Node,Cell,Cont>* mesh,
00024 const typename SimpMeshRed<N,1,T,Node,Cell,Cont>::NodeIterator n0,
00025 const typename SimpMeshRed<N,1,T,Node,Cell,Cont>::NodeIterator n1,
00026 const typename SimpMeshRed<N,1,T,Node,Cell,Cont>::CellIterator c0 = 0,
00027 const typename SimpMeshRed<N,1,T,Node,Cell,Cont>::CellIterator c1 = 0);
00028
00029
00031 template<int N, typename T,
00032 template<class> class Node,
00033 template<class> class Cell,
00034 template<class,class> class Cont>
00035 typename SimpMeshRed<N,2,T,Node,Cell,Cont>::CellIterator
00036 insertCell
00037 (SimpMeshRed<N,2,T,Node,Cell,Cont>* mesh,
00038 const typename SimpMeshRed<N,2,T,Node,Cell,Cont>::NodeIterator n0,
00039 const typename SimpMeshRed<N,2,T,Node,Cell,Cont>::NodeIterator n1,
00040 const typename SimpMeshRed<N,2,T,Node,Cell,Cont>::NodeIterator n2,
00041 const typename SimpMeshRed<N,2,T,Node,Cell,Cont>::CellIterator c0 = 0,
00042 const typename SimpMeshRed<N,2,T,Node,Cell,Cont>::CellIterator c1 = 0,
00043 const typename SimpMeshRed<N,2,T,Node,Cell,Cont>::CellIterator c2 = 0);
00044
00045
00047 template<int N, typename T,
00048 template<class> class Node,
00049 template<class> class Cell,
00050 template<class,class> class Cont>
00051 typename SimpMeshRed<N,3,T,Node,Cell,Cont>::CellIterator
00052 insertCell
00053 (SimpMeshRed<N,3,T,Node,Cell,Cont>* mesh,
00054 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::NodeIterator n0,
00055 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::NodeIterator n1,
00056 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::NodeIterator n2,
00057 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::NodeIterator n3,
00058 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::CellIterator c0 = 0,
00059 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::CellIterator c1 = 0,
00060 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::CellIterator c2 = 0,
00061 const typename SimpMeshRed<N,3,T,Node,Cell,Cont>::CellIterator c3 = 0);
00062
00063
00064 END_NAMESPACE_GEOM
00065
00066 #define __geom_mesh_simplicial_insert_ipp__
00067 #include "insert.ipp"
00068 #undef __geom_mesh_simplicial_insert_ipp__
00069
00070 #endif