示例#1
0
 public void addStartState(SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t state)
 {
     ompl_basePINVOKE.ProblemDefinition_addStartState__SWIG_1(swigCPtr, SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t.getCPtr(state));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void setStartAndGoalStates(SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t start, SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t goal, double threshold)
 {
     ompl_basePINVOKE.ProblemDefinition_setStartAndGoalStates__SWIG_2(swigCPtr, SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t.getCPtr(start), SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t.getCPtr(goal), threshold);
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void setGoalState(SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t goal)
 {
     ompl_basePINVOKE.ProblemDefinition_setGoalState__SWIG_3(swigCPtr, SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t.getCPtr(goal));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_ompl__base__ScopedStateT_ompl__base__StateSpace_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }