curvefloor

curvefloor(`curve`

,`floor`

)curvefloor(`curve`

,`floor`

,`position`

)

The CURVEFLOOR function has the following arguments:

`curve`

The curve that is to be reshaped.

`floor`

The floor value for which the curve should not descend below.

`location`

(Optional) True if the clipping should occur at the end of the curve, false if it should occur at the beginning of the curve. If not specified then clip the the limit for the full length of the curve.

This function takes an input curve and will return a reshaped curve based on the parameters. The floor argument is the value for which the curve should not descend below. When the vertices of the curve descend below the floor value the curve will be clipped so all subsequent X values will have the floor value.

If the location parameter is true then the clipping will occur on the descending end of the curve. If the location is false then the clipping will occur on the begining of the curve.

Omit the location parameter in order to reshape both the start and end of a curve.

Formula |
Description |
Result |
---|---|---|

curvefloor(curve(0,0, 100, 100, 200, 0),50,true) | Clip a curve so that the descender does not drop below 50. | curve(0,0, 100,100, 150,50) |

curvefloor(curve(0,0, 100, 100, 200, 0),50,false) | Clip a curve so that the ascender does not start below 50. | curve(50,50, 100,100, 200,0) |

curvefloor(curve(0,0, 100, 100, 200, 0),50) | Reshape the entire curve. | curve(50,50, 100,100, 150,50) |