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