public BoundBox set(Point2d pnt1, Point2d pnt2) {
BoundBox ret = new BoundBox(touchvgPINVOKE.BoundBox_set__SWIG_0(swigCPtr, Point2d.getCPtr(pnt1), Point2d.getCPtr(pnt2)), false);
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}