コード例 #1
0
ファイル: RNG.cs プロジェクト: slater1/Ompl.NetStandard
 public RNG(SWIGTYPE_p_std__uint_fast32_t localSeed) : this(ompl_geometricPINVOKE.new_RNG__SWIG_1(SWIGTYPE_p_std__uint_fast32_t.getCPtr(localSeed)), true)
 {
     if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: RNG.cs プロジェクト: slater1/Ompl.NetStandard
 public static void setSeed(SWIGTYPE_p_std__uint_fast32_t seed)
 {
     ompl_geometricPINVOKE.RNG_setSeed(SWIGTYPE_p_std__uint_fast32_t.getCPtr(seed));
     if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
ファイル: RNG.cs プロジェクト: slater1/Ompl.NetStandard
 public void setLocalSeed(SWIGTYPE_p_std__uint_fast32_t localSeed)
 {
     ompl_geometricPINVOKE.RNG_setLocalSeed(swigCPtr, SWIGTYPE_p_std__uint_fast32_t.getCPtr(localSeed));
     if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
ファイル: RNG.cs プロジェクト: slater1/Ompl.NetStandard
        public SWIGTYPE_p_std__uint_fast32_t getLocalSeed()
        {
            SWIGTYPE_p_std__uint_fast32_t ret = new SWIGTYPE_p_std__uint_fast32_t(ompl_geometricPINVOKE.RNG_getLocalSeed(swigCPtr), true);

            if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
 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);
 }