Exemplo n.º 1
0
 public void freeStates(SWIGTYPE_p_std__vectorT_ompl__base__State_p_t states)
 {
     ompl_basePINVOKE.SpaceInformation_freeStates(swigCPtr, SWIGTYPE_p_std__vectorT_ompl__base__State_p_t.getCPtr(states));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public virtual uint getMotionStates(State s1, State s2, SWIGTYPE_p_std__vectorT_ompl__base__State_p_t states, uint count, bool endpoints, bool alloc)
        {
            uint ret = ompl_basePINVOKE.SpaceInformation_getMotionStates(swigCPtr, State.getCPtr(s1), State.getCPtr(s2), SWIGTYPE_p_std__vectorT_ompl__base__State_p_t.getCPtr(states), count, endpoints, alloc);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public bool checkMotion(SWIGTYPE_p_std__vectorT_ompl__base__State_p_t states, uint count)
        {
            bool ret = ompl_basePINVOKE.SpaceInformation_checkMotion__SWIG_3(swigCPtr, SWIGTYPE_p_std__vectorT_ompl__base__State_p_t.getCPtr(states), count);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public uint randomBounceMotion(StateSampler sss, State start, uint steps, SWIGTYPE_p_std__vectorT_ompl__base__State_p_t states, bool alloc)
        {
            uint ret = ompl_basePINVOKE.SpaceInformation_randomBounceMotion(swigCPtr, StateSampler.getCPtr(sss), State.getCPtr(start), steps, SWIGTYPE_p_std__vectorT_ompl__base__State_p_t.getCPtr(states), alloc);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_ompl__base__State_p_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }