public GTerm(Gates.AbstractGate gate, double offset, Gate.Position pos) { this.pos = pos; this.offset = offset; this.gate = gate; }