From: johanengelen Date: Thu, 22 May 2008 19:44:09 +0000 (+0000) Subject: update to latest 2geom X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1d238f50265d9678161312510d0842c7175ff0a7;p=inkscape.git update to latest 2geom --- 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