public btQuaternion nearest(btQuaternion qd)
{
btQuaternion ret = new btQuaternion(LinearMathPINVOKE.btQuaternion_nearest(swigCPtr, btQuaternion.getCPtr(qd)), true);
if (LinearMathPINVOKE.SWIGPendingException.Pending) throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
return ret;
}