Geometry Creation

User functions that return a double value can be used in most of geometrical operations. Remember that an user function file with the considered functions is required for this example, as mentioned in the introduction section.

Most of commands may work with user functions. This section show some examples with the commands where the user functions are especially useful.

  • curveFunction The randomValue(min, max) has been used to create a sinusoid (with random noise) curve.


Figure 1. Using user functions in the curveFunction command
  • surfaceFunction The randomValue() has been used to create a sinusoid (with random noise) surface.


Figure 2. Using user functions in the surfaceFunction command