00001
00002
00008 #if !defined(__geom_mesh_simplicial_transform_h__)
00009 #define __geom_mesh_simplicial_transform_h__
00010
00011 #include "SimpMeshRed.h"
00012
00013 BEGIN_NAMESPACE_GEOM
00014
00015
00017
00020 template<typename SMR, typename NodeIterInIter, class UnaryFunction>
00021 void
00022 transformNodes(NodeIterInIter begin, NodeIterInIter end,
00023 const UnaryFunction& f);
00024
00025
00027 template<int N, int M, typename T,
00028 template<class> class Node,
00029 template<class> class Cell,
00030 template<class,class> class Cont,
00031 class UnaryFunction>
00032 void
00033 transform(SimpMeshRed<N,M,T,Node,Cell,Cont>* mesh, const UnaryFunction& f);
00034
00035
00037 template<int N, int M, typename T,
00038 template<class> class Node,
00039 template<class> class Cell,
00040 template<class,class> class Cont,
00041 class UnaryFunction>
00042 void
00043 transformBoundary(SimpMeshRed<N,M,T,Node,Cell,Cont>* mesh,
00044 const UnaryFunction& f);
00045
00046
00047 END_NAMESPACE_GEOM
00048
00049 #define __geom_mesh_simplicial_transform_ipp__
00050 #include "transform.ipp"
00051 #undef __geom_mesh_simplicial_transform_ipp__
00052
00053 #endif