SurfaceToCurve (FPScript)
Transforms a surface (signal series with Z component) into a space curve.
Syntax
SurfaceToCurve(Surface)
or
SurfaceToCurve(Y, X, Z)
The syntax of the SurfaceToCurve function consists of the following parts:
Part |
Description |
---|---|
Surface |
The surface to be converted into a space curve (signal series with a Z component). Permitted data structures are signal series. All numeric data types are permitted. If the argument is a list, then the function is executed for each element of the list and the result is also a list. |
Y |
A data matrix with the Y component of the surface to be transformed. If you specify a signal series, then its Y component is used. Permitted data structures are data matrix und signal series. All numeric data types are permitted. If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. |
X |
A data series with the X component of the surface to be transformed. If you specify a signal, then its Y component is used. Permitted data structures are data series und signal. All numeric data types are permitted. If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. |
Z |
A data series with the Z component of the surface to be transformed. If you specify a signal, then its Y component is used. Permitted data structures are data series und signal. All numeric data types are permitted. If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. |
Remarks
The result always has the data structure space curve.
The result has the same unit as the argument Surface.
For the transformation, the points of the Y data matrix are continuously stored together column by column with their X and Z components in the resulting space curve.
For complex data types the absolute value is formed.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
SurfaceToCurve(Series)
Transforms the signal series with a Z component into a space curve.
The following illustration shows a signal series and the space curve generated from it.