Class Vector3DCollection
Collection of Vector3D objects.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public sealed class Vector3DCollection : Freezable, INotifyPropertyChanged, IList<Vector3D>, ICollection<Vector3D>, IEnumerable<Vector3D>, IEnumerable
Constructors
Vector3DCollection()
Initializes a new instance of the Vector3DCollection class.
Declaration
public Vector3DCollection()
Vector3DCollection(IEnumerable<Vector3D>)
Initializes a new instance of the Vector3DCollection class using the specified collection.
Declaration
public Vector3DCollection(IEnumerable<Vector3D> collection)
Parameters
System.Collections.Generic.IEnumerable<Vector3D>
collection
Collection with which to instantiate the Vector3DCollection. |
Vector3DCollection(Int32)
Initializes a new instance of the Vector3DCollection class with the specified capacity.
Declaration
public Vector3DCollection(int capacity)
Parameters
System.Int32
capacity
Integer that specifies the capacity of the collection. |
Properties
Count
Gets the number of Vector3D objects contained in the Vector3DCollection.
Declaration
public int Count { get; }
Property Value
System.Int32
|
Item[Int32]
Gets or sets the Vector3D at the specified zero-based index.
Declaration
public Vector3D this[int index] { get; set; }
Parameters
System.Int32
index
The zero-based index of the Vector3D object to get or set. |
Property Value
Vector3D
The item at the specified index. |
Methods
Add(Vector3D)
Adds a Vector3D object to the end of the Vector3DCollection.
Declaration
public void Add(Vector3D item)
Parameters
Vector3D
item
Item to add to the end of this collection. |
Clear()
Removes all the items from this Vector3DCollection.
Declaration
public void Clear()
Contains(Vector3D)
Determines whether the specified Vector3D is in this Vector3DCollection.
Declaration
public bool Contains(Vector3D item)
Parameters
Vector3D
item
The item to locate in this collection. |
Returns
System.Boolean
true if value, the specified Vector3D, is in this Vector3DCollection; otherwise, false. |
CopyTo(Vector3D[], Int32)
Copies the items of this Vector3DCollection, starting with the specified index value, into an array of Vector3D objects.
Declaration
public void CopyTo(Vector3D[] array, int arrayIndex)
Parameters
Vector3D[]
array
The array that is the destination of the items copied from this Vector3DCollection. |
System.Int32
arrayIndex
The index at which copying begins. |
GetEnumerator()
Returns an enumerator that can iterate through the collection.
Declaration
public IEnumerator<Vector3D> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<Vector3D>
An enumerator that can iterate through the collection. |
IndexOf(Vector3D)
Gets the index position of the first occurrence of the specified Vector3D.
Declaration
public int IndexOf(Vector3D item)
Parameters
Vector3D
item
The Vector3D to search for. |
Returns
System.Int32
The index position of the specified Vector3D. |
Insert(Int32, Vector3D)
Inserts a Vector3D into this Vector3DCollection at the specified index position.
Declaration
public void Insert(int index, Vector3D item)
Parameters
System.Int32
index
The index position at which to insert the specified Vector3D. |
Vector3D
item
The Vector3D to insert. |
Parse(String)
Converts a String representation of the Vector3DCollection into the equivalent Vector3DCollection class.
Declaration
public static Vector3DCollection Parse(string source)
Parameters
System.String
source
The String representation of the Vector3DCollection class. |
Returns
Vector3DCollection
The equivalent Vector3DCollection class. |
Remove(Vector3D)
Removes the first occurrence of the specified Vector3D from the Vector3DCollection.
Declaration
public bool Remove(Vector3D item)
Parameters
Vector3D
item
The Vector3D to remove from this collection. |
Returns
System.Boolean
|
RemoveAt(Int32)
Removes the Vector3D at the specified index position from the Vector3DCollection.
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
The index position of the Vector3D to remove. |
ToString()
Creates a String representation of this Vector3DCollection structure.
Declaration
public override string ToString()
Returns
System.String
A String containing the Vector3D structures in the collection. |
ToString(IFormatProvider)
Creates a String representation of this Vector3DCollection.
Declaration
public string ToString(IFormatProvider provider)
Parameters
System.IFormatProvider
provider
The culture-specific formatting information. |
Returns
System.String
A String containing the Vector3D structures in the collection. |