Lines Matching defs:p1
182 Point p1 = pointAt(common->min()), p2 = pointAt(common->max());
183 LineSegment result(r.clamp(p1), r.clamp(p2));
197 p1 = Point(r[X].max(), (-c - a*r[X].max())/b);
198 if (p1[Y] < r[Y].min())
199 p1 = Point((-c - b*r[Y].min())/a, r[Y].min());
200 if (p1[Y] > r[Y].max())
201 p1 = Point((-c - b*r[Y].max())/a, r[Y].max());
208 p1 = Point((-c - b*r[Y].max())/a, r[Y].max());
209 if (p1[X] < r[X].min())
210 p1 = Point(r[X].min(), (-c - a*r[X].min())/b);
211 if (p1[X] > r[X].max())
212 p1 = Point(r[X].max(), (-c - a*r[X].max())/b);
214 return LineSegment(p0, p1); */