Skip to content

CurveList

Public Class

Represents a list of curves.

Inheritance Hierarchy

System.Object
Rhino.Collections.RhinoList. Curve.
Rhino.Collections.CurveList

Namespace: Rhino.Collections

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class CurveList : RhinoList<Curve>

The CurveList type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new empty list of curves.


Public Method

Initializes a new list that is filled with all items of the input enumerable.

Input items are not explicitly duplicated (this is a shallow copy).


Public Method

Initializes a new empty list of curves with a predefined capacity.

This is the amount of items the list will accept before resizing.


Properties

Name

Description


Public Property

Gets or sets the total number of elements the internal data structure can hold without resizing.

(Inherited from RhinoList.T..)


Public Property

Gets the number of elements actually contained in the List.

(Inherited from RhinoList.T..)


Public Property

Gets or sets the first item in the list. This is synonymous to calling List[0].

(Inherited from RhinoList.T..)


Public Property

Gets or sets the element at the specified index.

(Inherited from RhinoList.T..)


Public Property

Gets or sets the last item in the list. This is synonymous to calling List[Count-1].

(Inherited from RhinoList.T..)


Public Property

Gets the number of null references (Nothing in Visual Basic) in this list. If T is a ValueType, this property always return zero.

(Inherited from RhinoList.T..)


Methods

Name

Description


Public Method

Adds an arc to this list.


Public Method

Adds a circle to this list.


Public Method

Adds an ellipse to this list.


Public Method

Adds a polyline to this list.


Public Method

Adds a line to this list.


Public Method

Adds an object to the end of the List.

(Inherited from RhinoList.T..)


Public Method

Adds the elements of the specified collection to the end of the List.

(Inherited from RhinoList.T..)


Public Method

Adds the elements of the specified collection to the end of the List.

(Inherited from RhinoList.T..)


Public Method

Constructs a read-only wrapper of this class.

(Inherited from RhinoList.T..)


Public Method

Searches the entire sorted List for an element using the default comparer and returns the zero-based index of the element.

(Inherited from RhinoList.T..)


Public Method

Searches the entire sorted List for an element using the specified comparer and returns the zero-based index of the element.

(Inherited from RhinoList.T..)


Public Method

Searches the entire sorted List for an element using the specified comparer and returns the zero-based index of the element.

(Inherited from RhinoList.T..)


Public Method

Removes all elements from the List.

(Inherited from RhinoList.T..)


Public Method

Determines whether an element is in the List.

(Inherited from RhinoList.T..)


Public Method

Aggregates all results of a conversion function over this table into a new list.

(Inherited from RhinoList.T..)


Public Method

Copies the entire List to a compatible one-dimensional array, starting at the beginning of the target array.

(Inherited from RhinoList.T..)


Public Method

Copies the entire List to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from RhinoList.T..)


Public Method

Copies a range of elements from the List to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from RhinoList.T..)


Public Method

Returns a shallow copy of this instance. If the generic type is comprised of only value types (struct, enum, ptr), then the result will be a deep copy.

(Inherited from RhinoList.T..)


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Public Method

Determines whether the List contains elements that match the conditions defined by the specified predicate.

(Inherited from RhinoList.T..)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Retrieves all the elements that match the conditions defined by the specified predicate.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List that extends from the specified index to the last element.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Performs the specified action on each element of the List.

(Inherited from RhinoList.T..)


Public Method

Constructs an enumerator that is capable of iterating over all items in this list.

(Inherited from RhinoList.T..)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Constructs a shallow copy of a range of elements in the source List.

(Inherited from RhinoList.T..)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Searches for the specified object and returns the zero-based index of the first occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List that extends from the specified index to the last element.

(Inherited from RhinoList.T..)


Public Method

Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List that starts at the specified index and contains the specified number of elements.

(Inherited from RhinoList.T..)


Public Method

Inserts an arc at a given index of this list.


Public Method

Inserts a line at a given index of this list.


Public Method

Inserts an ellipse at a given index of this list.


Public Method

Inserts a line at a given index of this list.


Public Method

Inserts a polyline at a given index of this list.


Public Method

Inserts an element into the List at the specified index.

(Inherited from RhinoList.T..)


Public Method

Inserts the elements of a collection into the List at the specified index.

(Inherited from RhinoList.T..)


Public Method

Searches for the specified object and returns the zero-based index of the last occurrence within the entire List.

(Inherited from RhinoList.T..)


Public Method

Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List that extends from the first element to the specified index.

(Inherited from RhinoList.T..)


Public Method

Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List that contains the specified number of elements and ends at the specified index.

(Inherited from RhinoList.T..)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Remap an index in the infinite range onto the List index range.

(Inherited from RhinoList.T..)


Public Method

Removes the first occurrence of a specific object from the List.

(Inherited from RhinoList.T..)


Public Method

Removes the all the elements that match the conditions defined by the specified predicate.

(Inherited from RhinoList.T..)


Public Method

Removes the element at the specified index of the List.

(Inherited from RhinoList.T..)


Public Method

Removes all elements from the List that are null references (Nothing in Visual Basic). This function will not do anything if T is not a Reference type.

(Inherited from RhinoList.T..)


Public Method

Removes a range of elements from the List.

(Inherited from RhinoList.T..)


Public Method

Reverses the order of the elements in the entire List.

(Inherited from RhinoList.T..)


Public Method

Reverses the order of the elements in the specified range.

(Inherited from RhinoList.T..)


Public Method

Sorts the elements in the entire List using the default comparer.

(Inherited from RhinoList.T..)


Public Method

Sorts the elements in the entire list using the specified comparer.

(Inherited from RhinoList.T..)


Public Method
Sort(.Double.)

Sort this list based on a list of numeric keys of equal length. The keys array will not be altered.

(Inherited from RhinoList.T..)


Public Method

Sorts the elements in the entire list using the specified System.Comparison(T)

(Inherited from RhinoList.T..)


Public Method
Sort(.Int32.)

Sort this list based on a list of numeric keys of equal length. The keys array will not be altered.

(Inherited from RhinoList.T..)


Public Method

Sorts the elements in a range of elements in list using the specified comparer.

(Inherited from RhinoList.T..)


Public Method

Constructs an array that contains all items in this list.

(Inherited from RhinoList.T..)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Public Method

Transform all the curves in this list. If at least a single transform failed this function returns false.


Public Method
TrimExcess

Sets the capacity to the actual number of elements in the List, if that number is less than a threshold value.

(Inherited from RhinoList.T..)


Public Method

Determines whether every element in the List matches the conditions defined by the specified predicate.

(Inherited from RhinoList.T..)