Beispiel #1
0
 public void setProjectionEvaluator(SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t projectionEvaluator)
 {
     ompl_geometricPINVOKE.KPIECE1_setProjectionEvaluator__SWIG_0(swigCPtr, SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t.getCPtr(projectionEvaluator));
     if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
        public SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t getProjectionEvaluator()
        {
            SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t ret = new SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t(ompl_geometricPINVOKE.KPIECE1_getProjectionEvaluator(swigCPtr), false);

            if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }