Table of Contents

Class vdCurves

Namespace
VectorDraw.Professional.vdCollections
Assembly
VectorDraw.Professional.dll

Represents an ordered collection of vdCurve objects that together form one or more logically connected curve sequences.

public sealed class vdCurves : vdBaseObject, IDisposable, IVDSerialise, IEnumerable, IBaseObject, ICloneable
Inheritance
vdCurves
Implements
Inherited Members

Examples

see PolyCurves property for a code example of using this collection.

Remarks

The vdCurves class is a sealed, non-generic collection used by VectorDraw to group curve primitives (for example vdLine, vdArc, and vdPolyline) which can be manipulated as a single unit.
Typical use cases include constructing hatch boundaries by vdPolyhatch object and performing clipping operations where sequences of curves must form closed perimeters.

Constructors

vdCurves()

Initializes the vdCurves collection object.

vdCurves(vdCurve[])

Initializes a new instance of the object and adds the passed items at the end of this collection.

Properties

Count

Get the item's count of the collection.

Deleted

Get/Set a property that marks the object as Deleted or not.

this[int]

Get a vdCurve object from the collection at a specified index.

ItemType

Returns the Type of Items in the collection

Items

Get the items of the collection into a System.Array collection.

Operation

Get/Set the Clipping type for the vdCurves object.

Methods

Add(object)

Adds an object to the end of the collection.

AddItem(object)

Adds an object to the collection.

AddItem(vdCurve)

Adds a vdCurve object to the collection.

ChangeOrder(vdCurve, bool)

Changes the position of a vdCurve object to the front or the end of the collection.

ClearIndexDictionary()

Clears the Index of the Dictionary. Internally used to speed up Swap method.

Clone()

Creates a clone of this object.

DeSerialize(DeSerializer, string, object)

This Function is called foreach field name of the vdCurves object when opening in vdml format.

Equals(object)

Checks if the parameter object is equal to this object.

FindItem(object)

Checks if an object exists in the collection.

FindItem(vdCurve)

Checks if an object exists in the collection.

GetCompareHashCode()

Returns a 32-bit signed integer hash code for this object instance.

GetEnumerator()

Implements the "foreach" expression for the collection.

GetHashCode()

Returns a 32-bit signed integer hash code for this object instance.

GetNotDeletedItems()

Get all non deleted objects of the collection.

GetObjectRealPosition(object)

Find the index where a specified object is located in the list.

InsertAt(int, object)

Insert an object at a specified index.

InsertAt(int, vdCurve)

Insert a vdCurve object to a specified index of the collection.

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

MakeIndexDictionary()

Creates an Index of the Dictionary. Internally used to speed up Swap method.

RemoveAll()

Removes all objects from the collection.

RemoveAt(int)

Removes an object from the specified index of the collection.

RemoveItem(object)

Removes an object from the collection.

RemoveItem(vdCurve)

Removes a specific vdCurve object from the collection.

Serialize(Serializer)

This Function is called when saving the vdCurves object to vdml format.

ToString()

Gets a System.String that represents the count of the vdCurves collection Object.

Update()

Updates each curve of the collection after change of properties.

Validate()

Joins all vdCurves in the collection to one sigle polyline if it is possible

swap(vdCurve, vdCurve)

Swaps the position between two different vdCurve objects existing in the collection.

See Also