CurveIntersections
ReferencesMaintains an ordered list of Curve Intersection results.
Finalizer
Properties
This collection is read-only, so this property returns always true.
Indexers
Gets the intersection event data at the given index; setting always throws an exception.
Parameters:
| index (int) | Index of intersection event to retrieve. |
Returns: The intersection event.
Exceptions:
| NotSupportedException | NotSupportedException is always thrown when setting this indexer. |
Methods
Copies all intersection results into another array, departing at an index in the target array.
Parameters:
| array (IntersectionEvent[]) | The target array. This value cannot be null. |
| arrayIndex (int) | Zero-based index in which to start the copy. |
Exceptions:
| ArgumentNullException | If array is null. |
| ArgumentOutOfRangeException | If arrayIndex is less than 0. |
| ArgumentException | If array is multi-dimensional; or if arrayIndex is larger than or equal to the length of this collection; or this collection contains more IntersectionEvents than the ones that can be stored in array after and including arrayIndex. |
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
Dispose
#For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
Returns an enumerator that is capable of yielding all IntersectionEvents in the collection.
Returns: The constructed enumerator.
Addition is not supported and this method always throws NotSupportedException.
Parameters:
| item (IntersectionEvent) | Addition is not supported and this value is ignored. |
Exceptions:
| NotSupportedException | NotSupportedException is always thrown. |
Clearing is not supported and this method always throws NotSupportedException.
Exceptions:
| NotSupportedException | NotSupportedException is always thrown. |
Allows to establish whether this collection contains and IntersectionEvent.
This method is O(n), where n is the Count of elements in this collection.
Parameters:
| item (IntersectionEvent) | Object to be found. |
Returns: true if element is contained; otherwise false.
Removal is not supported and this method always throws NotSupportedException.
Parameters:
| item (IntersectionEvent) |
Exceptions:
| NotSupportedException | NotSupportedException is always thrown. |
Determines the index of an IntersectionEvent.
Parameters:
| item (IntersectionEvent) | The IntersectionEvent to be found. |
Returns: The index in case the IntersectionEvent was found; -1 otherwise.
Inserting is not supported and this method always throws NotSupportedException.
Parameters:
| index (int) | Inserting is not supported and this value is ignored. |
| item (IntersectionEvent) | Inserting is not supported and this value is ignored. |
Exceptions:
| NotSupportedException | NotSupportedException is always thrown. |
Removal is not supported and this method always throws NotSupportedException.
Parameters:
| index (int) | Removal is not supported and this value is ignored. |
Exceptions:
| NotSupportedException | NotSupportedException is always thrown. |
Returns a non-generic enumerator that is capable of yielding all IntersectionEvents in the collection. This returns the same enumerator as the generic counterpart.
Returns: The constructed enumerator.