Esempio n. 1
0
  /**
   * @noRefGuide calculates values of all data sources and return maximal value can be used to make
   *     union of few shapes
   */
  public int getBaseValue(Vec pnt, Vec data) {

    dataSource2.getDataValue(new Vec(pnt), data);
    double d2 = data.v[0];

    dataSource1.getDataValue(pnt, data);

    data.v[0] -= d2;

    return ResultCodes.RESULT_OK;
  }
Esempio n. 2
0
  /**
   * @noRefGuide calculates values of all data sources and return maximal value can be used to make
   *     union of few shapes
   */
  public int getBaseValue(Vec pnt, Vec data) {

    m_dataSource.getDataValue(new Vec(pnt), data);

    data.v[0] = step10(data.v[0], m_threshold, m_thickness2);

    return ResultCodes.RESULT_OK;
  }