Piecewise Parametric Example

Piecewise Parametric Example

Top  Previous  Next

Any of the functions available in Geometry Expressions can be piecewise, including parametric functions.  Take this square for example.

1. Click the Draw / Function tool draw_function_button 

2. Select Parametric from the drop down Type window.

function parametric 

3. Enter the first value (side) for the square and the range for the parameter values -

Hit enter.  Don't worry about the shape of the function, it's not defined yet.

parametric piecewise1 

4. Double-click the function and select the x value parametric piecewise2 

5. Click the Piecewise icon piecewise icon  on the Symbols toolbox

6. Enter the x values for each side of the square.   When you run out of gray boxes, click the Piecewise icon again to get another row

parametric piecewise6 

7. Now do the same for the y value, select the T parameter and click the Piecewise icon 3 times

parametric piecewise7 

Use the arrow keys on your keyboard or your mouse to move to the next gray box.

Here is the function:

parametric piecewise sq