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(); } }
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); }
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); }