コード例 #1
0
 public void addSubspace(StateSpace component, double weight)
 {
     ompl_basePINVOKE.CompoundStateSpace_addSubspace(swigCPtr, StateSpace.getCPtr(component), weight);
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public static void setDeterministicStateSamplerAllocator(StateSpace space, uint dim)
 {
     ompl_basePINVOKE.Determinism_setDeterministicStateSamplerAllocator(StateSpace.getCPtr(space), dim);
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public void getCommonSubspaces(StateSpace other, SWIGTYPE_p_std__vectorT_std__string_t subspaces)
 {
     ompl_basePINVOKE.StateSpace_getCommonSubspaces__SWIG_0(swigCPtr, StateSpace.getCPtr(other), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(subspaces));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
        public bool covers(StateSpace other)
        {
            bool ret = ompl_basePINVOKE.StateSpace_covers__SWIG_0(swigCPtr, StateSpace.getCPtr(other));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public static StateSampler allocHalton(StateSpace space, uint dim)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.Determinism_allocHalton(StateSpace.getCPtr(space), dim);
            StateSampler          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StateSampler(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public StateSampler allocSubspaceStateSampler(StateSpace subspace)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.StateSpace_allocSubspaceStateSampler__SWIG_0(swigCPtr, StateSpace.getCPtr(subspace));
            StateSampler          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StateSampler(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
 public SpaceInformation(StateSpace space) : this(ompl_basePINVOKE.new_SpaceInformation(StateSpace.getCPtr(space)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #8
0
 public SubspaceStateSampler(StateSpace space, StateSpace subspace, double weight) : this(ompl_basePINVOKE.new_SubspaceStateSampler(StateSpace.getCPtr(space), StateSpace.getCPtr(subspace), weight), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #9
0
 public CompoundStateSampler(StateSpace space) : this(ompl_basePINVOKE.new_CompoundStateSampler(StateSpace.getCPtr(space)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #10
0
ファイル: ompl_base.cs プロジェクト: slater1/Ompl.NetStandard
        public static AdvancedStateCopyOperation copyStateData(StateSpace destS, State dest, StateSpace sourceS, State source, SWIGTYPE_p_std__vectorT_std__string_t subspaces)
        {
            AdvancedStateCopyOperation ret = (AdvancedStateCopyOperation)ompl_basePINVOKE.copyStateData__SWIG_2(StateSpace.getCPtr(destS), State.getCPtr(dest), StateSpace.getCPtr(sourceS), State.getCPtr(source), SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(subspaces));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
 public ScopedStateStateSpace(StateSpace space, State state) : this(ompl_basePINVOKE.new_ScopedStateStateSpace__SWIG_3(StateSpace.getCPtr(space), State.getCPtr(state)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
 public RealVectorDeterministicStateSampler(StateSpace space, DeterministicSequence sequence_ptr) : this(ompl_basePINVOKE.new_RealVectorDeterministicStateSampler__SWIG_3(StateSpace.getCPtr(space), DeterministicSequence.getCPtr(sequence_ptr)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #13
0
 public RealVectorDeterministicStateSampler(StateSpace space, DeterministicStateSampler.DeterministicSamplerType type) : this(ompl_basePINVOKE.new_RealVectorDeterministicStateSampler__SWIG_0(StateSpace.getCPtr(space), (int)type), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #14
0
 public SO2DeterministicStateSampler(StateSpace space) : this(ompl_basePINVOKE.new_SO2DeterministicStateSampler__SWIG_1(StateSpace.getCPtr(space)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #15
0
ファイル: ompl_base.cs プロジェクト: slater1/Ompl.NetStandard
        public static AdvancedStateCopyOperation copyStateData(StateSpace destS, State dest, StateSpace sourceS, State source)
        {
            AdvancedStateCopyOperation ret = (AdvancedStateCopyOperation)ompl_basePINVOKE.copyStateData__SWIG_0(StateSpace.getCPtr(destS), State.getCPtr(dest), StateSpace.getCPtr(sourceS), State.getCPtr(source));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #16
0
 public SimpleSetup(StateSpace space) : this(ompl_geometricPINVOKE.new_SimpleSetup__SWIG_1(StateSpace.getCPtr(space)), true)
 {
     if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #17
0
 public SE2DeterministicStateSampler(StateSpace space, DeterministicSequence sequence_ptr, bool stretch_rv) : this(ompl_basePINVOKE.new_SE2DeterministicStateSampler__SWIG_3(StateSpace.getCPtr(space), DeterministicSequence.getCPtr(sequence_ptr), stretch_rv), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }