Example #1
0
 public RNG(SWIGTYPE_p_std__uint_fast32_t localSeed) : this(ompl_basePINVOKE.new_RNG__SWIG_1(SWIGTYPE_p_std__uint_fast32_t.getCPtr(localSeed)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void setLocalSeed(SWIGTYPE_p_std__uint_fast32_t localSeed)
 {
     ompl_basePINVOKE.RNG_setLocalSeed(swigCPtr, SWIGTYPE_p_std__uint_fast32_t.getCPtr(localSeed));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public static void setSeed(SWIGTYPE_p_std__uint_fast32_t seed)
 {
     ompl_basePINVOKE.RNG_setSeed(SWIGTYPE_p_std__uint_fast32_t.getCPtr(seed));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        public SWIGTYPE_p_std__uint_fast32_t getLocalSeed()
        {
            SWIGTYPE_p_std__uint_fast32_t ret = new SWIGTYPE_p_std__uint_fast32_t(ompl_basePINVOKE.RNG_getLocalSeed(swigCPtr), true);

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