Lines Matching defs:p00
122 /** Determine whether the line segment from p00 to p01 intersects the
127 \pre neither segment is zero-length; i.e. p00 != p01 and p10 != p11.
130 line_segment_intersectp(Geom::Point const &p00, Geom::Point const &p01,
133 if(p00 == p01) return false;
136 return ((intersector_ccw(p00, p01, p10) * intersector_ccw(p00, p01, p11)) <= 0 );
144 \pre neither segment is zero-length; i.e. p00 != p01 and p10 != p11.
147 segment_intersectp(Geom::Point const &p00, Geom::Point const &p01,
150 if(p00 == p01) return false;
155 return (line_segment_intersectp(p00, p01, p10, p11) &&
156 line_segment_intersectp(p10, p11, p00, p01));
163 \pre neither segment is zero-length; i.e. p00 != p01 and p10 != p11.
166 line_segment_intersect(Geom::Point const &p00, Geom::Point const &p01,
170 if(line_segment_intersectp(p00, p01, p10, p11)) {
171 Geom::Point n0 = (p01 - p00).ccw();
172 double d0 = dot(n0,p00);
187 \pre neither segment is zero-length; i.e. p00 != p01 and p10 != p11.
190 segment_intersect(Geom::Point const &p00, Geom::Point const &p01,
194 if(segment_intersectp(p00, p01, p10, p11)) {
195 Geom::Point n0 = (p01 - p00).ccw();
196 double d0 = dot(n0,p00);
210 \pre neither segment is zero-length; i.e. p00 != p01 and p10 != p11.
213 line_twopoint_intersect(Geom::Point const &p00, Geom::Point const &p01,
217 Geom::Point n0 = (p01 - p00).ccw();
218 double d0 = dot(n0,p00);