KnotCollection Class

This class represents an ordered series of uniformly increasing doubles used by spline entities.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryKnotCollection

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class KnotCollection : DisposableWrapper, 
        IList

The KnotCollection type exposes the following members.

Constructors
  Name Description
Public method KnotCollection Default constructor for the KnotCollection class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property Count Property that represents the length of this collection.
Public property EndParameter Property that represents the last knot value of this collection.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsFixedSize Property that indicates whether this collection has a fixed size.
Public property IsReadOnly Property that indicates whether this collection is read-only.
Public property IsSynchronized Property that indicates whether access to this collection is thread-safe.
Public property Item Property that represents an item from the collection at the specified index.
Public property NumberOfIntervals Property that represents the number of intervals between distinct knots. Consecutive knots are considered distinct if and only if they are not within the knot equality tolerance.
Public property StartParameter Property that represents the first knot value of this collection.
Public property SyncRoot Property that represents an object that can be used to synchronize access to this collection.
Public property Tolerance Property that represents the knot equality tolerance.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Add Appends a single knot to this vector, and returns the value of the single knot.
Public method Clear  
Public method Contains Checks whether the specified parameter is between the first and last knots.
Public method CopyTo Copies this knot collection to the specified array.
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method GetDistinctKnots Returns a set of unique knots (i.e. knots without repetitions) in this knot collection.
Public method GetEnumerator Returns an enumerator object for this knot collection.
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetInterval Returns the knot interval, and the index of the knot interval, containing the point specified by param.
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMultiplicityAt Returns knot multiplicity (repetitions) of the knot value at the specified index.
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method Insert Inserts the specified knot at the specified index.
Public method IsOn Checks whether the specified knot is a member of this knot collection within the knot equality tolerance.
Public method RemoveAt Removes the specified knot from this knot collection.
Public method Reverse Reverses the order of this knot collection.
Public method SetRange Transforms this vector such that the first knot has the value of the lower parameter, and the last knot has the value of the upper parameter.
Public method Split Splits this vector at the point corresponding to the passed parameter.
Public method ToString
(Inherited from Object)
Top
See Also

©  Bricsys NV. All rights reserved.