コード例 #1
0
  // for AlgoElement
  @Override
  protected void setInputOutput() {
    input = new GeoElement[1];
    input[0] = root;

    super.setOutputLength(1);
    super.setOutput(0, list);
    setDependencies(); // done by AlgoElement
    inputFingerprint = fingerprint(root);
  }
コード例 #2
0
  @Override
  protected void setInputOutput() {
    input = new GeoElement[3];
    input[0] = inputPoint1.toGeoElement();
    input[1] = inputPoint2.toGeoElement();
    input[2] = inputPoint3.toGeoElement();

    super.setOutputLength(1);
    super.setOutput(0, outputBoolean);
    setDependencies(); // done by AlgoElement
  }