Example #1
0
        public object Clone()
        {
            VectorSelection <T, ST> newVectorSelection = (VectorSelection <T, ST>) this.MemberwiseClone();

            return(newVectorSelection);
        }
 public VectorSelectionEnumerator(VectorSelection <T, ST> vectorSelection)
 {
     index = -1;
     this.vectorSelection = vectorSelection;
 }
Example #3
0
 ///<summary>
 ///Create a new selection by copy.
 ///</summary>
 ///<param name="vector">The vector of this selection.</param>
 ///<param name="toCopy">The selection to copy.</param>
 public VectorSelection(Vector <T> vector, VectorSelection <T, ST> toCopy)
 {
     this.vector = vector;
     indexs      = (int[])toCopy.indexs.Clone();
 }