Lines Matching refs:p0
98 intersector_ccw(const Geom::Point& p0, const Geom::Point& p1,
102 Geom::Point d1 = p1 - p0;
103 Geom::Point d2 = p2 - p0;
114 return -1; // p2 < p0 < p1
116 return +1; // p0 <= p1 < p2
118 return 0; // p0 <= p2 <= p1
153 /* true iff ( (the p1 segment straddles the p0 infinite line)
154 * and (the p0 segment straddles the p1 infinite line) ). */
278 * of \a c0, \a c1 (i.e., the vectors \a r1 - \a r0 and \a p1 - \a p0 point into the same
283 Geom::Point const &p0, Geom::Point const &p1)
297 if (line_segment_intersect(p0, p1, A, B, res) == intersects) {
300 if (line_segment_intersect(p0, p1, B, C, res) == intersects) {
303 if (line_segment_intersect(p0, p1, C, D, res) == intersects) {
306 if (line_segment_intersect(p0, p1, D, A, res) == intersects) {
313 // sort the results so that the order is the same as that of p0 and p1
315 Point dir2 (p1 - p0);
331 * of \a c0, \a c1 (i.e., the vectors \a r1 - \a r0 and \a p1 - \a p0 point into the same