Exemplo n.º 1
0
 public PlannerTerminationCondition(SWIGTYPE_p_std__functionT_bool_fF_t fn, double period) : this(ompl_basePINVOKE.new_PlannerTerminationCondition__SWIG_1(SWIGTYPE_p_std__functionT_bool_fF_t.getCPtr(fn), period), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public PlannerStatus solve(SWIGTYPE_p_std__functionT_bool_fF_t ptc, double checkInterval)
        {
            PlannerStatus ret = new PlannerStatus(ompl_basePINVOKE.Planner_solve__SWIG_1(swigCPtr, SWIGTYPE_p_std__functionT_bool_fF_t.getCPtr(ptc), checkInterval), true);

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