commit | 27accef223a27fba437f5e825d99edbae20a045b | [log] [tgz] |
---|---|---|
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jan 25 18:57:23 2012 +0000 |
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jan 25 18:57:23 2012 +0000 |
tree | bba808edd5117406ec3d17f08baebdbbd4338a1a | |
parent | 76bd2540b55f31c8e72adb2fa72a88d7f4ba5374 [diff] [blame] |
Intersection work in progress Review URL: https://codereview.appspot.com/5576043 git-svn-id: http://skia.googlecode.com/svn/trunk@3087 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/LineIntersection.cpp b/experimental/Intersection/LineIntersection.cpp index d23401e..c9bc616 100644 --- a/experimental/Intersection/LineIntersection.cpp +++ b/experimental/Intersection/LineIntersection.cpp
@@ -65,6 +65,8 @@ return no_intersection(result); } /* Are the line coincident? See if they overlap */ + // FIXME: allow returning range of coincidence, instead of or in + // addition to midpoint paramsA.lineEndPoints(a); double b0dist = paramsA.pointDistance(b[0]); bool b0on = approximately_zero_squared(b0dist);