Code

update to latest 2geom
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 22 May 2008 19:44:09 +0000 (19:44 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 22 May 2008 19:44:09 +0000 (19:44 +0000)
src/2geom/piecewise.h

index 3b115cb95d971d4f2ed070613ba2b5b25af1eacb..28d95edd5e07a23d842888bd33460067985561a8 100644 (file)
@@ -32,6 +32,7 @@
 #define SEEN_GEOM_PW_SB_H
 
 #include "sbasis.h"
+//#include "sbasis-2d.h"
 #include <vector>
 #include <map>
 
@@ -663,6 +664,16 @@ Piecewise<T> compose(Piecewise<T> const &f, Piecewise<SBasis> const &g){
   return result;
 }
 
+/*
+Piecewise<D2<SBasis> > compose(D2<SBasis2d> const &sb2d, Piecewise<D2<SBasis> > const &pwd2sb){
+  Piecewise<D2<SBasis> > result;
+  result.push_cut(0.);
+  for(unsigned i = 0; i < pwd2sb.size(); i++){
+     result.push(compose_each(sb2d,pwd2sb[i]),i+1);
+  }
+  return result;
+}*/
+
 template <typename T>
 Piecewise<T> Piecewise<T>::operator()(SBasis f){return compose((*this),f);}
 template <typename T>