diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-08-14 20:54:48 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-08-14 20:54:48 +0000 |
| commit | 55d43e4e27e0ba58a47fad70957dfa989aa173ad (patch) | |
| tree | 2ccfbac1c50023d08ae32975c876fa2478c1ad2a /src/2geom/basic-intersection.h | |
| parent | Fix for bug #1752113; added set_preview_widget_active(false) to FileSaveDialo... (diff) | |
| download | inkscape-55d43e4e27e0ba58a47fad70957dfa989aa173ad.tar.gz inkscape-55d43e4e27e0ba58a47fad70957dfa989aa173ad.zip | |
Commit LivePathEffect branch to trunk!
(disabled extension/internal/bitmap/*.* in build.xml to fix compilation)
(bzr r3472)
Diffstat (limited to 'src/2geom/basic-intersection.h')
| -rw-r--r-- | src/2geom/basic-intersection.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/2geom/basic-intersection.h b/src/2geom/basic-intersection.h new file mode 100644 index 000000000..76abcce2a --- /dev/null +++ b/src/2geom/basic-intersection.h @@ -0,0 +1,34 @@ +#include "sbasis.h" +#include "bezier-to-sbasis.h" +#include "sbasis-to-bezier.h" +#include "d2.h" + +namespace Geom { + +std::vector<std::pair<double, double> > +find_intersections( D2<SBasis> const & A, + D2<SBasis> const & B); + +std::vector<std::pair<double, double> > +find_self_intersections(D2<SBasis> const & A); + +// Bezier form +std::vector<std::pair<double, double> > +find_intersections( std::vector<Point> const & A, + std::vector<Point> const & B); + +std::vector<std::pair<double, double> > +find_self_intersections(std::vector<Point> const & A); + +}; + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
