Lines Matching defs:pts
240 eliminate_duplicates_p(std::vector<Point> &pts)
242 unsigned int size = pts.size();
248 if (pts[0] == pts[1]) {
249 pts.pop_back();
252 std::sort(pts.begin(), pts.end(), &is_less);
254 if (pts[0] == pts[1]) {
255 pts.erase(pts.begin());
256 } else if (pts[1] == pts[2]) {
257 pts.pop_back();
261 if (pts[2] == pts[3]) {
262 pts.pop_back();
264 if (pts[0] == pts[1]) {
265 pts.erase(pts.begin());