C# Class Axiom.Math.Collections.QuaternionCollection

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

Méthodes publiques

Méthode Description
Add ( Quaternion item ) : int

Adds a Quaternion to the end of the QuaternionCollection.

AddRange ( Quaternion x ) : int

Adds the elements of a Quaternion array to the current QuaternionCollection.

AddRange ( QuaternionCollection x ) : int

Adds the elements of another QuaternionCollection to the current QuaternionCollection.

Clear ( ) : void

Removes all elements from the QuaternionCollection.

Clone ( ) : object

Creates a shallow copy of the QuaternionCollection.

Contains ( Quaternion item ) : bool

Determines whether a given Quaternion is in the QuaternionCollection.

CopyTo ( Quaternion array ) : void

Copies the entire QuaternionCollection to a one-dimensional Quaternion array.

CopyTo ( Quaternion array, int start ) : void

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

GetEnumerator ( ) : IQuaternionCollectionEnumerator

Returns an enumerator that can iterate through the QuaternionCollection.

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

Returns the zero-based index of the first occurrence of a Quaternion in the QuaternionCollection.

Insert ( int index, Quaternion item ) : void

Inserts an element into the QuaternionCollection at the specified index.

QuaternionCollection ( ) : System

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

QuaternionCollection ( Quaternion a ) : System

Initializes a new instance of the QuaternionCollection class that contains elements copied from the specified Quaternion array.

QuaternionCollection ( QuaternionCollection c ) : System

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

QuaternionCollection ( int capacity ) : System

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

ReadOnly ( QuaternionCollection list ) : QuaternionCollection

Creates a read-only wrapper for a QuaternionCollection instance.

Remove ( Quaternion item ) : void

Removes the first occurrence of a specific Quaternion from the QuaternionCollection.

RemoveAt ( int index ) : void

Removes the element at the specified index of the QuaternionCollection.

Synchronized ( QuaternionCollection list ) : QuaternionCollection

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

TrimToSize ( ) : void

Sets the capacity to the actual number of elements.

this ( int index ) : Quaternion

Gets or sets the Quaternion at the specified index.

this ( int i ) : objectIList.System

Méthodes protégées

Méthode Description
QuaternionCollection ( 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 Quaternion to the end of the QuaternionCollection.
public Add ( Quaternion item ) : int
item Axiom.Math.Quaternion The to be added to the end of the QuaternionCollection.
Résultat int

AddRange() public méthode

Adds the elements of a Quaternion array to the current QuaternionCollection.
public AddRange ( Quaternion x ) : int
x Axiom.Math.Quaternion The array whose elements should be added to the end of the QuaternionCollection.
Résultat int

AddRange() public méthode

Adds the elements of another QuaternionCollection to the current QuaternionCollection.
public AddRange ( QuaternionCollection x ) : int
x QuaternionCollection The QuaternionCollection whose elements should be added to the end of the current QuaternionCollection.
Résultat int

Clear() public méthode

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

Clone() public méthode

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

Contains() public méthode

Determines whether a given Quaternion is in the QuaternionCollection.
public Contains ( Quaternion item ) : bool
item Axiom.Math.Quaternion The to check for.
Résultat bool

CopyTo() public méthode

Copies the entire QuaternionCollection to a one-dimensional Quaternion array.
public CopyTo ( Quaternion array ) : void
array Axiom.Math.Quaternion The one-dimensional array to copy to.
Résultat void

CopyTo() public méthode

Copies the entire QuaternionCollection to a one-dimensional Quaternion array, starting at the specified index of the target array.
public CopyTo ( Quaternion array, int start ) : void
array Axiom.Math.Quaternion 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 QuaternionCollection.
public GetEnumerator ( ) : IQuaternionCollectionEnumerator
Résultat IQuaternionCollectionEnumerator

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 Quaternion in the QuaternionCollection.
public IndexOf ( Quaternion item ) : int
item Axiom.Math.Quaternion The to locate in the QuaternionCollection.
Résultat int

Insert() public méthode

Inserts an element into the QuaternionCollection at the specified index.
/// is less than zero /// -or- /// is equal to or greater than . ///
public Insert ( int index, Quaternion item ) : void
index int The zero-based index at which should be inserted.
item Axiom.Math.Quaternion The to insert.
Résultat void

QuaternionCollection() public méthode

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

QuaternionCollection() public méthode

Initializes a new instance of the QuaternionCollection class that contains elements copied from the specified Quaternion array.
public QuaternionCollection ( Quaternion a ) : System
a Axiom.Math.Quaternion The array whose elements are copied to the new list.
Résultat System

QuaternionCollection() public méthode

Initializes a new instance of the QuaternionCollection class that contains elements copied from the specified QuaternionCollection.
public QuaternionCollection ( QuaternionCollection c ) : System
c QuaternionCollection The QuaternionCollection whose elements are copied to the new collection.
Résultat System

QuaternionCollection() protected méthode

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

QuaternionCollection() public méthode

Initializes a new instance of the QuaternionCollection class that has the specified initial capacity.
public QuaternionCollection ( int capacity ) : System
capacity int /// The number of elements that the new QuaternionCollection is initially capable of storing. ///
Résultat System

ReadOnly() public static méthode

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

Remove() public méthode

Removes the first occurrence of a specific Quaternion from the QuaternionCollection.
/// The specified was not found in the QuaternionCollection. ///
public Remove ( Quaternion item ) : void
item Axiom.Math.Quaternion The to remove from the QuaternionCollection.
Résultat void

RemoveAt() public méthode

Removes the element at the specified index of the QuaternionCollection.
/// 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 QuaternionCollection instance.
public static Synchronized ( QuaternionCollection list ) : QuaternionCollection
list QuaternionCollection
Résultat QuaternionCollection

TrimToSize() public méthode

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

this() public méthode

Gets or sets the Quaternion at the specified index.
/// is less than zero /// -or- /// is equal to or greater than . ///
public this ( int index ) : Quaternion
index int The zero-based index of the element to get or set.
Résultat Axiom.Math.Quaternion

this() public méthode

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