示例#1
0
 public void registerDefaultProjection(SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t projection)
 {
     ompl_basePINVOKE.StateSpace_registerDefaultProjection(swigCPtr, SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t.getCPtr(projection));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
        public SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t getDefaultProjection()
        {
            SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t ret = new SWIGTYPE_p_std__shared_ptrT_ompl__base__ProjectionEvaluator_t(ompl_basePINVOKE.StateSpace_getDefaultProjection(swigCPtr), true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.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);
 }