~lib2geom-hackers/lib2geom/trunk

« back to all changes in this revision

Viewing changes to path-intersect.h

  • Committer: njh
  • Date: 2006-05-22 11:50:24 UTC
  • Revision ID: svn-v4:4601daaa-0314-0410-9a8b-c964a3c23b6b:trunk/lib2geom:1
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "path.h"
 
2
 
 
3
class Bezier {
 
4
public:
 
5
    Geom::Point p[4];
 
6
    Bezier * Split();
 
7
    void ParameterSplitLeft( double t, Bezier &result );
 
8
    
 
9
    ~Bezier() {}
 
10
};
 
11
 
 
12
namespace Geom{
 
13
std::vector<std::pair<double, double> > FindIntersections( Bezier a, Bezier b);
 
14
};
 
15
 
 
16
/*
 
17
  Local Variables:
 
18
  mode:c++
 
19
  c-file-style:"stroustrup"
 
20
  c-file-offsets:((innamespace . 0)(substatement-open . 0))
 
21
  indent-tabs-mode:nil
 
22
  c-brace-offset:0
 
23
  fill-column:99
 
24
  End:
 
25
  vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
 
26
*/
 
27