curveFunction
This command draws a curve with three functions that define points in Cartesian coordinates.
Inline mode usage
- curveFunction -h
- Displays the help file that summarizes the parameters for this command.
- curveFunction –n <name> -p <u_start> <u_end> <u_samples> <x=f($u)> <y=f($u)> <z=f($u)>
- Creates a curve named <name> that starts in <u_start>, ends in <u_end> and has <u_samples>, defined by functions <x=f($u)>, <y=f($u)> and <z=f($u)>.
Interactive mode usage
- Invocation
- curveFunction
- Parameters
-
- Parameter ‘u’, define range of variable ‘u’ start end samples.
- ‘x’ coordinate function: x=f($u).
- ‘y’ coordinate function: y=f($u).
- ‘z’ coordinate function: z=f($u).
- Remark
- The parameter is bound to the $u variable.
Example:
> curveFunction
Parameter ‘$u’ (start end samples): 0 24 48
x = f($u) = $u
y = f($u) = sin($u)
z = f($u) = 0
Result: