public void setRect2P(Point2d pt1, Point2d pt2) { touchvgPINVOKE.MgBaseRect_setRect2P(swigCPtr, Point2d.getCPtr(pt1), Point2d.getCPtr(pt2)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); }