Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## SpaceTime.DataModel
Interface CertainPlf

    public interface CertainPlf

The representation of certain plf (a collection of x,y pairs) passed by value

Author:
  Kostya

Method Summary
`void` | `AddPoint(double x, double y)` Add point
`Tuple` | `GetMax()` Get point (x,y) with maximum value
`double` | `GetMaxY()` Get maximum Y
`double` | `GetX(int index)` Get X point
`double` | `GetY(int index)` Get Y point
`double` | `GetYatX(double x)` Get value at X
`int` | `Size()` Number of pieces

Method Detail

### AddPoint

    void AddPoint(double x,
                  double y)

  Add point

### Size

    int Size()

  Number of pieces

  Returns:

### GetX

    double GetX(int index)

  Get X point

  Returns:

### GetY

    double GetY(int index)

  Get Y point

  Returns:

### GetMaxY

    double GetMaxY()

  Get maximum Y

  Returns:

### GetMax

    Tuple GetMax()

  Get point (x,y) with maximum value

  Returns:

### GetYatX

    double GetYatX(double x)

  Get value at X

  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD