Space Engineers
Public Member Functions | Properties | List of all members
VRageMath.CurveKeyCollection Class Reference

Contains the CurveKeys making up a Curve. More...

Inheritance diagram for VRageMath.CurveKeyCollection:

Public Member Functions

int IndexOf (CurveKey item)
 Determines the index of a CurveKey in the CurveKeyCollection. More...
 
void RemoveAt (int index)
 Removes the CurveKey at the specified index. More...
 
void Add (CurveKey item)
 Adds a CurveKey to the CurveKeyCollection. More...
 
void Clear ()
 Removes all CurveKeys from the CurveKeyCollection. More...
 
bool Contains (CurveKey item)
 Determines whether the CurveKeyCollection contains a specific CurveKey. More...
 
void CopyTo (CurveKey[] array, int arrayIndex)
 Copies the CurveKeys of the CurveKeyCollection to an array, starting at the array index provided. More...
 
bool Remove (CurveKey item)
 Removes the first occurrence of a specific CurveKey from the CurveKeyCollection. More...
 
IEnumerator< CurveKeyGetEnumerator ()
 Returns an enumerator that iterates through the CurveKeyCollection. More...
 
CurveKeyCollection Clone ()
 Creates a copy of the CurveKeyCollection. More...
 

Properties

CurveKey this[int index] [get, set]
 Gets or sets the element at the specified index. More...
 
int Count [get]
 Gets the number of elements contained in the CurveKeyCollection. More...
 
bool IsReadOnly [get]
 Returns a value indicating whether the CurveKeyCollection is read-only. More...
 

Detailed Description

Contains the CurveKeys making up a Curve.

Definition at line 13 of file CurveKeyCollection.cs.

Member Function Documentation

void VRageMath.CurveKeyCollection.Add ( CurveKey  item)
inline

Adds a CurveKey to the CurveKeyCollection.

Parameters
itemThe CurveKey to add.

Definition at line 91 of file CurveKeyCollection.cs.

void VRageMath.CurveKeyCollection.Clear ( )
inline

Removes all CurveKeys from the CurveKeyCollection.

Definition at line 110 of file CurveKeyCollection.cs.

CurveKeyCollection VRageMath.CurveKeyCollection.Clone ( )
inline

Creates a copy of the CurveKeyCollection.

Definition at line 162 of file CurveKeyCollection.cs.

bool VRageMath.CurveKeyCollection.Contains ( CurveKey  item)
inline

Determines whether the CurveKeyCollection contains a specific CurveKey.

Parameters
itemtrue if the CurveKey is found in the CurveKeyCollection; false otherwise.

Definition at line 121 of file CurveKeyCollection.cs.

void VRageMath.CurveKeyCollection.CopyTo ( CurveKey[]  array,
int  arrayIndex 
)
inline

Copies the CurveKeys of the CurveKeyCollection to an array, starting at the array index provided.

Parameters
arrayThe destination of the CurveKeys copied from CurveKeyCollection. The array must have zero-based indexing.
arrayIndexThe zero-based index in the array to start copying from.

Definition at line 130 of file CurveKeyCollection.cs.

IEnumerator<CurveKey> VRageMath.CurveKeyCollection.GetEnumerator ( )
inline

Returns an enumerator that iterates through the CurveKeyCollection.

Definition at line 149 of file CurveKeyCollection.cs.

int VRageMath.CurveKeyCollection.IndexOf ( CurveKey  item)
inline

Determines the index of a CurveKey in the CurveKeyCollection.

Parameters
itemCurveKey to locate in the CurveKeyCollection.

Definition at line 72 of file CurveKeyCollection.cs.

bool VRageMath.CurveKeyCollection.Remove ( CurveKey  item)
inline

Removes the first occurrence of a specific CurveKey from the CurveKeyCollection.

Parameters
itemThe CurveKey to remove from the CurveKeyCollection.

Definition at line 140 of file CurveKeyCollection.cs.

void VRageMath.CurveKeyCollection.RemoveAt ( int  index)
inline

Removes the CurveKey at the specified index.

Parameters
indexThe zero-based index of the item to remove.

Definition at line 81 of file CurveKeyCollection.cs.

Property Documentation

int VRageMath.CurveKeyCollection.Count
get

Gets the number of elements contained in the CurveKeyCollection.

Definition at line 50 of file CurveKeyCollection.cs.

bool VRageMath.CurveKeyCollection.IsReadOnly
get

Returns a value indicating whether the CurveKeyCollection is read-only.

Definition at line 61 of file CurveKeyCollection.cs.

CurveKey VRageMath.CurveKeyCollection.this[int index]
getset

Gets or sets the element at the specified index.

Parameters
indexThe array index of the element.

Definition at line 25 of file CurveKeyCollection.cs.


The documentation for this class was generated from the following file: