public VectorParticle(VectorParticle other) : this(PhysicsEngineForFunPINVOKE.new_VectorParticle__SWIG_1(VectorParticle.getCPtr(other)), true)
 {
     if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending)
     {
         throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public VectorParticleEnumerator(VectorParticle collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, VectorParticle values)
 {
     PhysicsEngineForFunPINVOKE.VectorParticle_SetRange(swigCPtr, index, VectorParticle.getCPtr(values));
     if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending)
     {
         throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static VectorParticle Repeat(Particle value, int count)
        {
            global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorParticle_Repeat(Particle.getCPtr(value), count);
            VectorParticle        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorParticle(cPtr, true);

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

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