Example #1
0
 public void addSolutionPath(PlannerSolution sol)
 {
     ompl_basePINVOKE.ProblemDefinition_addSolutionPath__SWIG_4(swigCPtr, PlannerSolution.getCPtr(sol));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public bool getSolution(PlannerSolution solution)
        {
            bool ret = ompl_basePINVOKE.ProblemDefinition_getSolution(swigCPtr, PlannerSolution.getCPtr(solution));

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