public void setCostToGoHeuristic(SWIGTYPE_p_std__functionT_ompl__base__Cost_fompl__base__State_const_p_ompl__base__Goal_const_pF_t costToGo)
 {
     ompl_basePINVOKE.OptimizationObjective_setCostToGoHeuristic(swigCPtr, SWIGTYPE_p_std__functionT_ompl__base__Cost_fompl__base__State_const_p_ompl__base__Goal_const_pF_t.getCPtr(costToGo));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__functionT_ompl__base__Cost_fompl__base__State_const_p_ompl__base__Goal_const_pF_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }