internal static HandleRef getCPtr(SWIGTYPE_p_double obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public void nearest(double x, double y, SWIGTYPE_p_double xi, SWIGTYPE_p_double yi)
 {
     colaPINVOKE.RectangleIntersections_nearest(swigCPtr, x, y, SWIGTYPE_p_double.getCPtr(xi), SWIGTYPE_p_double.getCPtr(yi));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }