surfaceFunction

This option creates a surface by defining two parameters and three functions.

Inline mode usage:

surfaceFunction -h
Displays the help file that summarizes the parameters for this command.
surfaceFunction –n <name> -p <u_start> <u_end> <u_samples> <v_start> <v_end> <v_samples> <x=f($u,$v)> <y=f($u,$v)> <z=f($u,$v)>
Create surface with three functions that define points in Cartesian.

Interactive mode usage:

Invocation
surfaceFunction
Parameters
  • Parameter “u” (start end samples) in order to define range of variable “u”.
  • Parameter “v” (start end samples) in order to define range of variable “v”.
  • x = f($u,$v) for X coordinate function
  • y = f($u,$v) for Y coordinate function
  • z = f($u,$v) for Z coordinate function

Remark: The parameters u and v of the functions are bound to the variables $u and $v.

Example:

>surfaceFunction
Parameter ‘$u’ (start end samples): 0 24 48
Parameter ‘$v’ (start end samples): 0 24 48
x = f($u,$v) = $u
y = f($u,$v) = $v
z = f($u,$v) = sin($u) + sin($v)
> 


Figure 1. Result of surface function