Exemple #1
0
        public override bool checkMotion(State s1, State s2, SWIGTYPE_p_std__pairT_ompl__base__State_p_double_t lastValid)
        {
            bool ret = ompl_basePINVOKE.DiscreteMotionValidator_checkMotion__SWIG_1(swigCPtr, State.getCPtr(s1), State.getCPtr(s2), SWIGTYPE_p_std__pairT_ompl__base__State_p_double_t.getCPtr(lastValid));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual bool checkMotion(State s1, State s2, SWIGTYPE_p_std__pairT_ompl__base__State_p_double_t lastValid)
        {
            bool ret = ompl_basePINVOKE.SpaceInformation_checkMotion__SWIG_0(swigCPtr, State.getCPtr(s1), State.getCPtr(s2), SWIGTYPE_p_std__pairT_ompl__base__State_p_double_t.getCPtr(lastValid));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public override bool checkMotion(State s1, State s2, SWIGTYPE_p_std__pairT_ompl__base__State_p_double_t lastValid)
 {
     return(true);
 }
Exemple #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__pairT_ompl__base__State_p_double_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }