Ejemplo n.º 1
0
  @Override
  protected void setInputOutput() {
    input = new GeoElement[1];
    input[0] = text;

    super.setOutputLength(1);
    super.setOutput(0, length);
    setDependencies(); // done by AlgoElement
  }
Ejemplo n.º 2
0
  @Override
  protected void setInputOutput() {
    input = new GeoElement[1];
    input[0] = polygon;

    super.setOutputLength(1);
    super.setOutput(0, circum);
    setDependencies();
  }
Ejemplo n.º 3
0
  // for AlgoElement
  @Override
  protected void setInputOutput() {
    input = new GeoElement[3];
    input[0] = (GeoElement) A;
    input[1] = (GeoElement) B;
    input[2] = (GeoElement) C;

    super.setOutputLength(1);
    super.setOutput(0, circle);
    setDependencies(); // done by AlgoElement
  }
Ejemplo n.º 4
0
  @Override
  protected void setInputOutput() {

    if (n != null) {
      input = new GeoElement[3];
      input[2] = n;
    } else {
      input = new GeoElement[2];
    }
    input[0] = inputText;
    input[1] = m;
    super.setOutputLength(1);
    super.setOutput(0, outputText);
    setDependencies(); // done by AlgoElement
  }