public CompoundStateSpace(SWIGTYPE_p_std__vectorT_std__shared_ptrT_ompl__base__StateSpace_t_t components, doubleVector weights) : this(ompl_basePINVOKE.new_CompoundStateSpace__SWIG_1(SWIGTYPE_p_std__vectorT_std__shared_ptrT_ompl__base__StateSpace_t_t.getCPtr(components), doubleVector.getCPtr(weights)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SWIGTYPE_p_std__vectorT_std__shared_ptrT_ompl__base__StateSpace_t_t getSubspaces()
        {
            SWIGTYPE_p_std__vectorT_std__shared_ptrT_ompl__base__StateSpace_t_t ret = new SWIGTYPE_p_std__vectorT_std__shared_ptrT_ompl__base__StateSpace_t_t(ompl_basePINVOKE.CompoundStateSpace_getSubspaces(swigCPtr), false);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_std__shared_ptrT_ompl__base__StateSpace_t_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }