title: Error: Cannot convert from Double** to Double
body: <p>I am trying to make a function for my convex hull project, 
  Calipers(). I tried creating a class for the points but
  I cannot seem to use points to extract a value from p[].x into rotatingPoint.x
  Thank you.</p>
  
  <pre><code>#include "point.h"
  
  void Point::Set_value(Point p)
  {
  
      x=p.x;                       
      y=p.y; 
  
  }
  
  void Point::Set_value(double nx,double ny)
  {
      x=nx;
      y=ny;
  }
  
  void comp_geo::Calipers(int n, Point *p)
  {
          double Cx = &amp;p[n].x;
          double Cy = &amp;p[n].y;
          rotatePoint.x = Cx;
          rotatePoint.y = Cy;
  
  }
  </code></pre>
  
  <p>Calipers() does not work.</p>