Drawing3d documented Class Library

Curve.Register Method

Register a CurveType In Drawing3d.Curves the following 2d-Curves are registered Register(1, typeof(Line));
Register(2, typeof(Arc));
Register(3, typeof(Bezier));
Register(4, typeof(QSpline));
Register(5, typeof(Nurbs2d));
Register(6, typeof(BSpline));

[Visual Basic]
Public Shared Sub Register( _
   ByVal Id As Integer, _
   ByVal T As Type _
)
[C#]
public static int Register(
   int Id,
   Type T
);

Parameters

Id
Unique ID
T
Type of the Curve

Return Value

See Also

Curve Class | Drawing3d.Curves Namespace