Skip to main content

Tsg2DSpline

Unit: DXFConv

Description

Tsg2DSpline class defines 2D spline entity. Note: it serves for the auxiliary purposes.

Syntax

Tsg2DSpline = class (Tsg2DCurve)

Properties

Derived from Tsg2DCurveDescription
CountThe property returns a quantity of the Tsg2DCurve object's points.
EdgeTypeThe property returns an edge type of the Tsg2DCurve object.
EndPointThe property returns the end point of the Tsg2DCurve object.
PointsThe property gets a point that belongs to the Tsg2DCurve object by its index.
StartPointThe property returns the start point of the Tsg2DCurve object.

Methods

MethodsDescription
AddControlThe method adds knot to a spline.
AddKnotThe method adds knot to a spline.
CreateCreates an instance of the Tsg2DSpline class object.
DestroyThe method frees up internal objects before destroying the Tsg2DSpline class instance.
GetLastVertexThe method returns the last vertex of spline.