public class PiecewiseSinusSquare extends SupportPointFunction
SupportPointFunction.SupportPointComperator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SIN_SQUARE_NAME
name identifying a this kind of function
|
Constructor and Description |
---|
PiecewiseSinusSquare() |
PiecewiseSinusSquare(java.util.List<SupportPoint> supportPoints,
float stiffness) |
PiecewiseSinusSquare(PiecewiseSinusSquare source) |
Modifier and Type | Method and Description |
---|---|
IFunction |
copy() |
java.lang.String |
getName()
Returns the name of the function
|
double |
value(double x)
Returns the function value at the passed x coordinate.
|
addSupportPoint, getDefinitionRange, getMaxX, getMaxY, getMinX, getMinY, getStiffness, getSupportPoint, getSupportPointsInArea, getSupportPointSize, hasSupportPointInArea, hasSupportPointsInArea, indexOf, initialize, mirrorYFunction, moveFunction, moveSupportPoint, moveSupportPoint, moveSupportPointTo, moveSupportPointTo, moveTangentPointAfterTo, moveTangentPointBeforeTo, removeSupportPoint, rescaleXRange, toCSVString
public static final java.lang.String SIN_SQUARE_NAME
public PiecewiseSinusSquare()
public PiecewiseSinusSquare(java.util.List<SupportPoint> supportPoints, float stiffness)
public PiecewiseSinusSquare(PiecewiseSinusSquare source)
public java.lang.String getName()
IFunction
public double value(double x)
IFunction
x
- the coordinate at which to return the functions valuepublic IFunction copy()