Table of Contents

Class vdPolyCurves

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

Represents a collection of vdCurves instances.

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

Examples

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

Remarks

The vdPolyCurves class aggregates multiple vdCurves objects.
Each contained vdCurves represents a logically connected sequence of curve primitives (lines, arcs, polylines, etc.). This collection is primarily used for constructing hatch boundaries by vdPolyhatch object.

Constructors

vdPolyCurves()

Initializes the vdPolyCurves collection object.

vdPolyCurves(vdCurves[])

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.

this[int]

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

ItemType

Returns the Type of Items in the collection

Methods

Add(object)

Adds an object to the end of the collection.

AddItem(object)

Adds an item to the collection.

AddItem(vdCurves)

Adds a vdCurves object to the collection.

ChangeOrder(vdCurves, bool)

Changes the position of a vdCurves 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 vdPolyCurves object when opening in vdml format.

FindItem(object)

Searches the collection for a specified object.

FindItem(vdCurves)

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.

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, vdCurves)

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

InternalSetOwner(vdBaseObject)

Internally used only.

Set the object owner

IsComplexOperation()

Returns true if at least one Operation has different value than VectorDraw.Geometry.GpcWrapper.ClippingOperation.XOr

IsHatchValid()

Returns true if all the curves define a closed perigram.

MakeHatchValid()

Reconstruct the curves if necessary , in order to each one define a closed perigram.

MakeIndexDictionary()

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

RemoveAll()

Removes all objects from the collection.

RemoveAt(int)

Removes a vdCurves object from the specified index of the collection.

RemoveItem(object)

Removes the specified item from the collection.

RemoveItem(vdCurves)

Removes a specific vdCurves object from the collection.

Serialize(Serializer)

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

ToString()

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

swap(vdCurves, vdCurves)

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

See Also