C# Class Axiom.Math.Collections.Vector3List

Inheritance: ICollection, IList, IEnumerable, ICloneable
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Vector3List ( Tag t ) : System

Private Methods

Méthode Description
EnsureCapacity ( int min ) : void
IEnumerable ( ) : IEnumerator
IList ( object x ) : bool
IList ( object x ) : int
ValidateIndex ( int i ) : void
ValidateIndex ( int i, bool allowEqualEnd ) : void

Method Details

Add() public méthode

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.
Résultat int

AddRange() public méthode

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.
Résultat int

AddRange() public méthode

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.
Résultat int

Clear() public méthode

Removes all elements from the Vector3List.
public Clear ( ) : void
Résultat void

Clone() public méthode

Creates a shallow copy of the Vector3List.
public Clone ( ) : object
Résultat object

Contains() public méthode

Determines whether a given Vector3 is in the Vector3List.
public Contains ( Vector3 item ) : bool
item Vector3 The to check for.
Résultat bool

CopyTo() public méthode

Copies the entire Vector3List to a one-dimensional Vector3 array.
public CopyTo ( Vector3 array ) : void
array Vector3 The one-dimensional array to copy to.
Résultat void

CopyTo() public méthode

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.
Résultat void

GetEnumerator() public méthode

Returns an enumerator that can iterate through the Vector3List.
public GetEnumerator ( ) : IVector3ListEnumerator
Résultat IVector3ListEnumerator

ICollection() public méthode

public ICollection ( Array array, int start ) : void
array System.Array
start int
Résultat void

IList() public méthode

public IList ( int pos ) : void
pos int
Résultat void

IList() public méthode

public IList ( int pos, object x ) : void
pos int
x object
Résultat void

IList() public méthode

public IList ( object x ) : void
x object
Résultat void

IndexOf() public méthode

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.
Résultat int

Insert() public méthode

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.
Résultat void

ReadOnly() public static méthode

Creates a read-only wrapper for a Vector3List instance.
public static ReadOnly ( Vector3List list ) : Vector3List
list Vector3List
Résultat Vector3List

Remove() public méthode

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.
Résultat void

RemoveAt() public méthode

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.
Résultat void

Synchronized() public static méthode

Creates a synchronized (thread-safe) wrapper for a Vector3List instance.
public static Synchronized ( Vector3List list ) : Vector3List
list Vector3List
Résultat Vector3List

TrimToSize() public méthode

Sets the capacity to the actual number of elements.
public TrimToSize ( ) : void
Résultat void

Vector3List() public méthode

Initializes a new instance of the Vector3List class that is empty and has the default initial capacity.
public Vector3List ( ) : System
Résultat System

Vector3List() protected méthode

protected Vector3List ( Tag t ) : System
t Tag
Résultat System

Vector3List() public méthode

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.
Résultat System

Vector3List() public méthode

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.
Résultat System

Vector3List() public méthode

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. ///
Résultat System

this() public méthode

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.
Résultat Vector3

this() public méthode

public this ( int i ) : objectIList.System
i int
Résultat objectIList.System