caryclark@google.com | d88e089 | 2012-03-27 13:23:51 +0000 | [diff] [blame^] | 1 | #ifndef LineIntersection_DEFINE |
| 2 | #define LineIntersection_DEFINE |
caryclark@google.com | 639df89 | 2012-01-10 21:46:10 +0000 | [diff] [blame] | 3 | |
| 4 | #include "DataTypes.h" |
| 5 | |
caryclark@google.com | c682590 | 2012-02-03 22:07:47 +0000 | [diff] [blame] | 6 | int horizontalIntersect(const _Line& line, double y, double tRange[2]); |
caryclark@google.com | 2e7f4c8 | 2012-03-20 21:11:59 +0000 | [diff] [blame] | 7 | int horizontalLineIntersect(const _Line& line, double left, double right, |
| 8 | double y, double tRange[2]); |
caryclark@google.com | c682590 | 2012-02-03 22:07:47 +0000 | [diff] [blame] | 9 | int intersect(const _Line& a, const _Line& b, double aRange[2], double bRange[2]); |
caryclark@google.com | 639df89 | 2012-01-10 21:46:10 +0000 | [diff] [blame] | 10 | bool testIntersect(const _Line& a, const _Line& b); |
caryclark@google.com | d88e089 | 2012-03-27 13:23:51 +0000 | [diff] [blame^] | 11 | |
| 12 | #endif |