Drawing3d documented Class Library

Curve.RegisteredCurves Field

Holds a list of curve types for copying curves and array of curves. A curve will be written in a stream and read from a stream. The basic concept contains the method LoadFromStream and SaveToStream By registrating
Register(1, typeof(Line));
Register(2, typeof(Arc));
Register(3, typeof(Bezier));
Register(4, typeof(QSpline));
Register(5, typeof(Nurbs2d));
Register(6, typeof(BSpline));
the curves can reconsturcted by calling the empty constructor

[Visual Basic]
Public Shared RegisteredCurves As SortedList
public static SortedList RegisteredCurves;

See Also

Curve Class | Drawing3d.Curves Namespace | Clone | Clone