CADability dotNET
Defines a CurveDrive providing the curve for the movement and the object beeing moved. The currentPosition describes the position of the object as it is defined in the model relative to the startpoint of the curve. It must be between 0.0 and the length of the curve.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public CurveDrive(
	ICurve along,
	double currentPosition
)
Visual Basic
Public Sub New ( _
	along As ICurve, _
	currentPosition As Double _
)
Visual C++
public:
CurveDrive(
	ICurve^ along, 
	double currentPosition
)

Parameters

along
Type: CADability.GeoObject..::..ICurve
Curve for the movement
currentPosition
Type: System..::..Double
Current position of the object

See Also