コード例 #1
0
 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();
     }
 }
コード例 #2
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);
        }