public PlannerDataEdge getEdge(uint v1, uint v2) { PlannerDataEdge ret = new PlannerDataEdge(ompl_basePINVOKE.PlannerData_getEdge__SWIG_0(swigCPtr, v1, v2), false); if (ompl_basePINVOKE.SWIGPendingException.Pending) { throw ompl_basePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
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); }
public virtual PlannerDataEdge c_clone() { global::System.IntPtr cPtr = ompl_basePINVOKE.PlannerDataEdge_c_clone(swigCPtr); PlannerDataEdge ret = (cPtr == global::System.IntPtr.Zero) ? null : new PlannerDataEdge(cPtr, false); if (ompl_basePINVOKE.SWIGPendingException.Pending) { throw ompl_basePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PlannerDataEdge obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }