Copying and scaling a curve description

 

A curve description can be copied and scaled without changing the data source using the "CopyAndScale" function. The object of the type "CamDescription" provides the following methods for this purpose:

CopyAndScaleX

Copies the transferred curve description into the calling object and then scales the copy in X-direction.

CopyAndScaleY

Copies the transferred curve description into the calling object and then scales the copy in Y-direction.

The following sample code shows a copy of the curve description scaled with factor two: