code: public static void translate2D(IAtomContainer atomCon, Vector2d vector) {
          for (IAtom atom : atomCon.atoms()) {
              if (atom.getPoint2d() != null) {
                  atom.getPoint2d().add(vector);
              } else {
                  logger.warn("Could not translate atom in 2D space");
              }
          }
          // translate Sgroup brackets
          if (atomCon.getProperty(CDKConstants.CTAB_SGROUPS) != null) {
              List<Sgroup> sgroups = atomCon.getProperty(CDKConstants.CTAB_SGROUPS);
              for (Sgroup sgroup : sgroups) {
                  List<SgroupBracket> brackets = sgroup.getValue(SgroupKey.CtabBracket);
                  if (brackets != null) {
                      for (SgroupBracket bracket : brackets) {
                          bracket.getFirstPoint().add(vector);
                          bracket.getSecondPoint().add(vector);
                      }
                  }
              }
          }
      }
docs: Translates a molecule from the origin to a new point denoted by a vector. See comment for
  center(IAtomContainer atomCon, Dimension areaDim, HashMap renderingCoordinates) for details
  on coordinate sets
  
  @param atomCon molecule to be translated
  @param vector  dimension that represents the translation vector