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