public static double seconds(SWIGTYPE_p_std__chrono__system_clock__duration d)
        {
            double ret = ompl_geometricPINVOKE.seconds__SWIG_1(SWIGTYPE_p_std__chrono__system_clock__duration.getCPtr(d));

            if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static SWIGTYPE_p_std__chrono__system_clock__duration seconds(double sec)
        {
            SWIGTYPE_p_std__chrono__system_clock__duration ret = new SWIGTYPE_p_std__chrono__system_clock__duration(ompl_geometricPINVOKE.seconds__SWIG_0(sec), true);

            if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public static PlannerTerminationCondition timedPlannerTerminationCondition(SWIGTYPE_p_std__chrono__system_clock__duration duration)
        {
            PlannerTerminationCondition ret = new PlannerTerminationCondition(ompl_basePINVOKE.timedPlannerTerminationCondition__SWIG_1(SWIGTYPE_p_std__chrono__system_clock__duration.getCPtr(duration)), true);

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