public bool searchValidNearby(ValidStateSampler sampler, State state, State near, double distance)
        {
            bool ret = ompl_basePINVOKE.SpaceInformation_searchValidNearby__SWIG_1(swigCPtr, ValidStateSampler.getCPtr(sampler), State.getCPtr(state), State.getCPtr(near), distance);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public ValidStateSampler allocValidStateSampler()
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.SpaceInformation_allocValidStateSampler(swigCPtr);
            ValidStateSampler     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ValidStateSampler(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public ValidStateSampler Invoke(SpaceInformation arg0)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.ValidStateSamplerAllocator_Invoke(swigCPtr, SpaceInformation.getCPtr(arg0));
            ValidStateSampler     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ValidStateSampler(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
 private global::System.IntPtr SwigDirectorMethodInvoke(global::System.IntPtr arg0)
 {
     return(ValidStateSampler.getCPtr(Invoke((arg0 == global::System.IntPtr.Zero) ? null : new SpaceInformation(arg0, true))).Handle);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ValidStateSampler obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }