aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/Intersection/CurveIntersection.h
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-14 15:29:11 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-14 15:29:11 +0000
commit45a8fc6a8b00451f807783f2a6ec640e9bcc7256 (patch)
treebf483ee177b764a83768534293b9542a5a0c036e /experimental/Intersection/CurveIntersection.h
parent3976825a21532e254311b90b4a9046e25717e335 (diff)
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@7738 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/Intersection/CurveIntersection.h')
-rw-r--r--experimental/Intersection/CurveIntersection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/experimental/Intersection/CurveIntersection.h b/experimental/Intersection/CurveIntersection.h
index 34cd6fb6c2..b67ea7e4d2 100644
--- a/experimental/Intersection/CurveIntersection.h
+++ b/experimental/Intersection/CurveIntersection.h
@@ -47,6 +47,8 @@ int horizontalIntersect(const Quadratic& quad, double left, double right,
bool intersect(const Cubic& cubic1, const Cubic& cubic2, Intersections& );
// the following flavor uses quadratic approximation instead of convex hulls
bool intersect2(const Cubic& cubic1, const Cubic& cubic2, Intersections& );
+// like '2', but iterates on centers instead of possible edges
+bool intersect3(const Cubic& cubic1, const Cubic& cubic2, Intersections& );
bool intersect(const Cubic& cubic, Intersections& i); // return true if cubic self-intersects
int intersect(const Cubic& cubic, const Quadratic& quad, Intersections& );
int intersect(const Cubic& cubic, const _Line& line, Intersections& );