public virtual void addSampler(StateSampler sampler, double weightImportance) { ompl_basePINVOKE.CompoundStateSampler_addSampler(swigCPtr, StateSampler.getCPtr(sampler), weightImportance); if (ompl_basePINVOKE.SWIGPendingException.Pending) { throw ompl_basePINVOKE.SWIGPendingException.Retrieve(); } }
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); }
public StateSampler allocSubspaceStateSampler(StateSpace subspace) { global::System.IntPtr cPtr = ompl_basePINVOKE.StateSpace_allocSubspaceStateSampler__SWIG_0(swigCPtr, StateSpace.getCPtr(subspace)); StateSampler ret = (cPtr == global::System.IntPtr.Zero) ? null : new StateSampler(cPtr, true); if (ompl_basePINVOKE.SWIGPendingException.Pending) { throw ompl_basePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual StateSampler allocStateSampler() { global::System.IntPtr cPtr = ompl_basePINVOKE.StateSpace_allocStateSampler(swigCPtr); StateSampler ret = (cPtr == global::System.IntPtr.Zero) ? null : new StateSampler(cPtr, true); if (ompl_basePINVOKE.SWIGPendingException.Pending) { throw ompl_basePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static StateSampler allocHalton(StateSpace space, uint dim) { global::System.IntPtr cPtr = ompl_basePINVOKE.Determinism_allocHalton(StateSpace.getCPtr(space), dim); StateSampler ret = (cPtr == global::System.IntPtr.Zero) ? null : new StateSampler(cPtr, true); if (ompl_basePINVOKE.SWIGPendingException.Pending) { throw ompl_basePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StateSampler obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }