From 1d238f50265d9678161312510d0842c7175ff0a7 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 22 May 2008 19:44:09 +0000 Subject: [PATCH] update to latest 2geom --- src/2geom/piecewise.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/2geom/piecewise.h b/src/2geom/piecewise.h index 3b115cb95..28d95edd5 100644 --- a/src/2geom/piecewise.h +++ b/src/2geom/piecewise.h @@ -32,6 +32,7 @@ #define SEEN_GEOM_PW_SB_H #include "sbasis.h" +//#include "sbasis-2d.h" #include #include @@ -663,6 +664,16 @@ Piecewise compose(Piecewise const &f, Piecewise const &g){ return result; } +/* +Piecewise > compose(D2 const &sb2d, Piecewise > const &pwd2sb){ + Piecewise > 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 Piecewise Piecewise::operator()(SBasis f){return compose((*this),f);} template -- 2.30.2