mirror of https://github.com/CGAL/cgal
remove unused variables...
This commit is contained in:
parent
e4ea39527e
commit
32e8dc4c7e
|
|
@ -14,12 +14,10 @@ CGAL::Point_set_2<K> PSet;
|
|||
Point_2 ar1[5];
|
||||
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
std::list<Point_2> Lr;
|
||||
|
||||
int w1,w2;
|
||||
Point_2 p1(12,14);
|
||||
Point_2 p2(-12,14);
|
||||
Point_2 p3(2,11);
|
||||
|
|
@ -47,8 +45,6 @@ int main()
|
|||
Vertex_handle v = PSet.nearest_neighbor(actual);
|
||||
std::cout << "Nearest neighbor:" << v->point() << "\n";
|
||||
|
||||
if (v->point() == p4) w1=0; else w1=1;
|
||||
|
||||
// k nearest neighbors ...
|
||||
std::list<Vertex_handle> L;
|
||||
std::list<Vertex_handle>::const_iterator it;
|
||||
|
|
@ -61,4 +57,3 @@ int main()
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue