public void innerEyeCorner()
    {
        //writing for left inner corner
        Point p=al;
        
        ArrayList li = new ArrayList();
        
        for(int i=0;i<list.size();i++)
        {
            Point a= (Point) list.get(i);
            float xx = a.x-p.x;
            xx=Math.abs(xx);
            //System.out.println(xx+" "+a.y);
            if(xx<0.5 && a.y<(d1-30) && a.y>(p.y+20))
            {
                //System.out.println(" in sie the if"+xx+" "+a.y);
                li.add(a);
            }
        }
        
        float min = (float) 100000.0;
        Point in1=null;
        System.out.println(li.size());
        for(int i=0;i<li.size();i++)
        {
            Point a= (Point) li.get(i);
            //System.out.println();
            if(a.z<min)
            {
                //System.out.println("Inside if");
                min = a.z;
                in1 =a;
            }
        }
        
        System.out.println("\n\nInner Eye Corner\n"+in1.x+" "+in1.y+" "+in1.z);
        System.out.println("\n\nInner Eye Corner\n"+p.x+" "+p.y+" "+p.z);
        System.out.println(list.indexOf(in1));
        
        li.clear();
        
        for(int i=0;i<list.size();i++)
        {
            Point a= (Point) list.get(i);
            float xx = a.x-ar.x;
            xx=Math.abs(xx);
            //System.out.println(xx+" "+a.y);
            if(xx<1.5 && a.y<(d1-30) && a.y>(ar.y+20))
            {
                //System.out.println(" in sie the if"+xx+" "+a.y);
                li.add(a);
            }
        }
        
        Point in2=null;
        System.out.println(li.size());
        for(int i=0;i<li.size();i++)
        {
            Point a= (Point) li.get(i);
            //System.out.println();
            if(a.z<min)
            {
                //System.out.println("Inside if");
                min = a.z;
                in2 =a;
            }
        }
        
        System.out.println("\n\nInner Eye Corner\n"+in2.x+" "+in2.y+" "+in2.z);
        System.out.println("\n\nInner Eye Corner\n"+p.x+" "+p.y+" "+p.z);
        System.out.println(list.indexOf(in2));
        
        inner1=in1;
        inner2=in2;
        
    }