OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright 2012 Google Inc. | |
3 * | |
4 * Use of this source code is governed by a BSD-style license that can be | |
5 * found in the LICENSE file. | |
6 */ | |
7 #ifndef LineIntersection_DEFINE | |
8 #define LineIntersection_DEFINE | |
9 | |
10 #include "Intersections.h" | |
11 | |
12 int horizontalIntersect(const _Line& line, double y, double tRange[2]); | |
13 int horizontalLineIntersect(const _Line& line, double left, double right, | |
14 double y, double tRange[2]); | |
15 void lineIntersect(const _Line& a, const _Line& b, _Point& p); | |
16 int intersect(const _Line& a, const _Line& b, Intersections&); | |
17 bool testIntersect(const _Line& a, const _Line& b); | |
18 int verticalLineIntersect(const _Line& line, double top, double bottom, | |
19 double x, double tRange[2]); | |
20 | |
21 #endif | |
OLD | NEW |