Example #1
0
        public virtual bool addEdge(PlannerDataVertex v1, PlannerDataVertex v2, PlannerDataEdge edge)
        {
            bool ret = ompl_basePINVOKE.PlannerData_addEdge__SWIG_4(swigCPtr, PlannerDataVertex.getCPtr(v1), PlannerDataVertex.getCPtr(v2), PlannerDataEdge.getCPtr(edge));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #2
0
        public virtual bool addEdge(uint v1, uint v2, PlannerDataEdge edge)
        {
            bool ret = ompl_basePINVOKE.PlannerData_addEdge__SWIG_1(swigCPtr, v1, v2, PlannerDataEdge.getCPtr(edge));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }