C# Класс Axiom.Math.Collections.Vector3List

Наследование: ICollection, IList, IEnumerable, ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( Vector3 item ) : int

Adds a Vector3 to the end of the Vector3List.

AddRange ( Vector3 x ) : int

Adds the elements of a Vector3 array to the current Vector3List.

AddRange ( Vector3List x ) : int

Adds the elements of another Vector3List to the current Vector3List.

Clear ( ) : void

Removes all elements from the Vector3List.

Clone ( ) : object

Creates a shallow copy of the Vector3List.

Contains ( Vector3 item ) : bool

Determines whether a given Vector3 is in the Vector3List.

CopyTo ( Vector3 array ) : void

Copies the entire Vector3List to a one-dimensional Vector3 array.

CopyTo ( Vector3 array, int start ) : void

Copies the entire Vector3List to a one-dimensional Vector3 array, starting at the specified index of the target array.

GetEnumerator ( ) : IVector3ListEnumerator

Returns an enumerator that can iterate through the Vector3List.

ICollection ( Array array, int start ) : void
IList ( int pos ) : void
IList ( int pos, object x ) : void
IList ( object x ) : void
IndexOf ( Vector3 item ) : int

Returns the zero-based index of the first occurrence of a Vector3 in the Vector3List.

Insert ( int index, Vector3 item ) : void

Inserts an element into the Vector3List at the specified index.

ReadOnly ( Vector3List list ) : Vector3List

Creates a read-only wrapper for a Vector3List instance.

Remove ( Vector3 item ) : void

Removes the first occurrence of a specific Vector3 from the Vector3List.

RemoveAt ( int index ) : void

Removes the element at the specified index of the Vector3List.

Synchronized ( Vector3List list ) : Vector3List

Creates a synchronized (thread-safe) wrapper for a Vector3List instance.

TrimToSize ( ) : void

Sets the capacity to the actual number of elements.

Vector3List ( ) : System

Initializes a new instance of the Vector3List class that is empty and has the default initial capacity.

Vector3List ( Vector3 a ) : System

Initializes a new instance of the Vector3List class that contains elements copied from the specified Vector3 array.

Vector3List ( Vector3List c ) : System

Initializes a new instance of the Vector3List class that contains elements copied from the specified Vector3List.

Vector3List ( int capacity ) : System

Initializes a new instance of the Vector3List class that has the specified initial capacity.

this ( int index ) : Vector3

Gets or sets the Vector3 at the specified index.

this ( int i ) : objectIList.System

Защищенные методы

Метод Описание
Vector3List ( Tag t ) : System

Приватные методы

Метод Описание
EnsureCapacity ( int min ) : void
IEnumerable ( ) : IEnumerator
IList ( object x ) : bool
IList ( object x ) : int
ValidateIndex ( int i ) : void
ValidateIndex ( int i, bool allowEqualEnd ) : void

Описание методов

Add() публичный метод

Adds a Vector3 to the end of the Vector3List.
public Add ( Vector3 item ) : int
item Vector3 The to be added to the end of the Vector3List.
Результат int

AddRange() публичный метод

Adds the elements of a Vector3 array to the current Vector3List.
public AddRange ( Vector3 x ) : int
x Vector3 The array whose elements should be added to the end of the Vector3List.
Результат int

AddRange() публичный метод

Adds the elements of another Vector3List to the current Vector3List.
public AddRange ( Vector3List x ) : int
x Vector3List The Vector3List whose elements should be added to the end of the current Vector3List.
Результат int

Clear() публичный метод

Removes all elements from the Vector3List.
public Clear ( ) : void
Результат void

Clone() публичный метод

Creates a shallow copy of the Vector3List.
public Clone ( ) : object
Результат object

Contains() публичный метод

Determines whether a given Vector3 is in the Vector3List.
public Contains ( Vector3 item ) : bool
item Vector3 The to check for.
Результат bool

CopyTo() публичный метод

Copies the entire Vector3List to a one-dimensional Vector3 array.
public CopyTo ( Vector3 array ) : void
array Vector3 The one-dimensional array to copy to.
Результат void

CopyTo() публичный метод

Copies the entire Vector3List to a one-dimensional Vector3 array, starting at the specified index of the target array.
public CopyTo ( Vector3 array, int start ) : void
array Vector3 The one-dimensional array to copy to.
start int The zero-based index in at which copying begins.
Результат void

GetEnumerator() публичный метод

Returns an enumerator that can iterate through the Vector3List.
public GetEnumerator ( ) : IVector3ListEnumerator
Результат IVector3ListEnumerator

ICollection() публичный метод

public ICollection ( Array array, int start ) : void
array System.Array
start int
Результат void

IList() публичный метод

public IList ( int pos ) : void
pos int
Результат void

IList() публичный метод

public IList ( int pos, object x ) : void
pos int
x object
Результат void

IList() публичный метод

public IList ( object x ) : void
x object
Результат void

IndexOf() публичный метод

Returns the zero-based index of the first occurrence of a Vector3 in the Vector3List.
public IndexOf ( Vector3 item ) : int
item Vector3 The to locate in the Vector3List.
Результат int

Insert() публичный метод

Inserts an element into the Vector3List at the specified index.
/// is less than zero /// -or- /// is equal to or greater than . ///
public Insert ( int index, Vector3 item ) : void
index int The zero-based index at which should be inserted.
item Vector3 The to insert.
Результат void

ReadOnly() публичный статический метод

Creates a read-only wrapper for a Vector3List instance.
public static ReadOnly ( Vector3List list ) : Vector3List
list Vector3List
Результат Vector3List

Remove() публичный метод

Removes the first occurrence of a specific Vector3 from the Vector3List.
/// The specified was not found in the Vector3List. ///
public Remove ( Vector3 item ) : void
item Vector3 The to remove from the Vector3List.
Результат void

RemoveAt() публичный метод

Removes the element at the specified index of the Vector3List.
/// is less than zero /// -or- /// is equal to or greater than . ///
public RemoveAt ( int index ) : void
index int The zero-based index of the element to remove.
Результат void

Synchronized() публичный статический метод

Creates a synchronized (thread-safe) wrapper for a Vector3List instance.
public static Synchronized ( Vector3List list ) : Vector3List
list Vector3List
Результат Vector3List

TrimToSize() публичный метод

Sets the capacity to the actual number of elements.
public TrimToSize ( ) : void
Результат void

Vector3List() публичный метод

Initializes a new instance of the Vector3List class that is empty and has the default initial capacity.
public Vector3List ( ) : System
Результат System

Vector3List() защищенный метод

protected Vector3List ( Tag t ) : System
t Tag
Результат System

Vector3List() публичный метод

Initializes a new instance of the Vector3List class that contains elements copied from the specified Vector3 array.
public Vector3List ( Vector3 a ) : System
a Vector3 The array whose elements are copied to the new list.
Результат System

Vector3List() публичный метод

Initializes a new instance of the Vector3List class that contains elements copied from the specified Vector3List.
public Vector3List ( Vector3List c ) : System
c Vector3List The Vector3List whose elements are copied to the new collection.
Результат System

Vector3List() публичный метод

Initializes a new instance of the Vector3List class that has the specified initial capacity.
public Vector3List ( int capacity ) : System
capacity int /// The number of elements that the new Vector3List is initially capable of storing. ///
Результат System

this() публичный метод

Gets or sets the Vector3 at the specified index.
/// is less than zero /// -or- /// is equal to or greater than . ///
public this ( int index ) : Vector3
index int The zero-based index of the element to get or set.
Результат Vector3

this() публичный метод

public this ( int i ) : objectIList.System
i int
Результат objectIList.System