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

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

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

Метод Описание
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

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

Метод Описание
QuaternionCollection ( 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 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.
Результат int

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

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.
Результат int

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

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.
Результат int

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

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

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

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

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

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

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

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.
Результат void

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

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.
Результат void

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

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

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 Quaternion in the QuaternionCollection.
public IndexOf ( Quaternion item ) : int
item Axiom.Math.Quaternion The to locate in the QuaternionCollection.
Результат int

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

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.
Результат void

QuaternionCollection() публичный Метод

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

QuaternionCollection() публичный Метод

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.
Результат System

QuaternionCollection() публичный Метод

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.
Результат System

QuaternionCollection() защищенный Метод

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

QuaternionCollection() публичный Метод

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. ///
Результат System

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

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

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

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.
Результат void

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

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.
Результат void

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

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

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

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

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

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.
Результат Axiom.Math.Quaternion

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

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