Docs / Shaping functions

Glossary: CircularDoubleSeat

The curve of CircularDoubleSeat, its parameters and its constructor.

Color legend plain property method

Two quarter circles that meet flat at (A, A): a rise, a pause, a rise.

A class in the category ShapingFunctionCategory.Circular. It derives from BaseShapingFunction and has its members too: CalculateOutput gives the curve. The parameters page shows it in context, with what its parameters do.

Names are colored by what they are: a property or a method; values and fields keep the plain color.

The curve

The curve of CircularDoubleSeat for several settings of its parameters
A = 0.25, 0.5 and 0.75. Each curve is flat at its dot, the point (A, A).
Property Value
Id ShapingFunctionId.CircularDoubleSeat, number 8
Category ShapingFunctionCategory.Circular
Name "Circular Double Seat"
Order null
ParameterCount 1
HasVariableOrder false

For an input x from 0 to 1, the output is √(A² − (x − A)²) up to x = A, and 1 − √((1 − A)² − (x − A)²) after it.

It starts and ends upright and is flat at (A, A). With the default A of 0.00001 it is CircularEaseIn to within 0.00001, so set A before using it. It stays within 0 to 1 and never goes back.

Properties

A →

float · From IOneParameter. Where the two arcs meet: the curve is flat at the point (A, A). Clamped to 0.00001 to 0.99999 when set, so the curve never divides by 0; 0.00001 by default. Throws ArgumentOutOfRangeException for NaN and keeps the value it had.

Methods

CircularDoubleSeat() →

CircularDoubleSeat() · Creates the curve, with its parameters at their defaults. ShapingFunctionFactory.Create creates the same from ShapingFunctionId.CircularDoubleSeat.