d2-sbasis.h revision fe0f7ac550d0d5bde816a0f6a6dd346d17dbc84c
#ifdef _2GEOM_D2 /*This is intentional: we don't actually want anyone to
include this, other than D2.h. If somone else tries, D2
won't be defined. If it is, this will already be included. */
#ifndef __2GEOM_SBASIS_CURVE_H
#define __2GEOM_SBASIS_CURVE_H
#include "sbasis.h"
#include "sbasis-2d.h"
#include "piecewise.h"
#include "matrix.h"
//TODO: implement intersect
}
//Piecewise<D2<SBasis> > specific decls:
double tol=0,
bool closed=false);
{
CoordIterator(std::vector<D2<SBasis> >::const_iterator const &iter, unsigned d) : impl_(iter), ix_(d) {}
}
inline CoordIterator &operator++() {
++impl_;
return *this;
}
inline CoordIterator operator++(int) {
++(*this);
return old;
}
unsigned ix_;
};
}
//bounds specializations with order
bounds_fast(s[Y], order));
}
bounds_local(s[Y], i, order));
}
}
#endif
#endif