public doubleVector(doubleVector other) : this(ompl_basePINVOKE.new_doubleVector__SWIG_1(doubleVector.getCPtr(other)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public doubleVectorEnumerator(doubleVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void uniformInBall(double r, doubleVector v)
 {
     ompl_geometricPINVOKE.RNG_uniformInBall(swigCPtr, r, doubleVector.getCPtr(v));
     if (ompl_geometricPINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_geometricPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public virtual void copyFromReals(State destination, doubleVector reals)
 {
     ompl_basePINVOKE.StateSpace_copyFromReals(swigCPtr, State.getCPtr(destination), doubleVector.getCPtr(reals));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public virtual void copyToReals(doubleVector reals, State source)
 {
     ompl_basePINVOKE.StateSpace_copyToReals(swigCPtr, doubleVector.getCPtr(reals), State.getCPtr(source));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public void uniformNormalVector(doubleVector v)
 {
     ompl_basePINVOKE.RNG_uniformNormalVector(swigCPtr, doubleVector.getCPtr(v));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetRange(int index, doubleVector values)
 {
     ompl_basePINVOKE.doubleVector_SetRange(swigCPtr, index, doubleVector.getCPtr(values));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #8
0
        public virtual doubleVector sample()
        {
            doubleVector ret = new doubleVector(ompl_basePINVOKE.DeterministicSequence_sample(swigCPtr), true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #9
0
        public override doubleVector sample()
        {
            doubleVector ret = new doubleVector(ompl_basePINVOKE.HaltonSequence_sample(swigCPtr), true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public doubleVector getSubspaceWeights()
        {
            doubleVector ret = new doubleVector(ompl_basePINVOKE.CompoundStateSpace_getSubspaceWeights(swigCPtr), false);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #11
0
        public doubleVector reals()
        {
            doubleVector ret = new doubleVector(ompl_basePINVOKE.ScopedStateStateSpace_reals(swigCPtr), true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #12
0
        public doubleVector getDifference()
        {
            doubleVector ret = new doubleVector(ompl_basePINVOKE.RealVectorBounds_getDifference(swigCPtr), true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static doubleVector Repeat(double value, int count)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.doubleVector_Repeat(value, count);
            doubleVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new doubleVector(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public doubleVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.doubleVector_GetRange(swigCPtr, index, count);
            doubleVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new doubleVector(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 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();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(doubleVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }