Add a coordinate to the path.

@param coordinate
972037
public void addCoordinate(Coordinate coordinate) {
		Coordinate[] newCoords = new Coordinate[coordinates.length + 1];
		System.arraycopy(coordinates, 0, newCoords, 0, coordinates.length);
		newCoords[coordinates.length] = coordinate;
		setCoordinates(newCoords);
	}
142732
public void setPosition(Coordinate position) {
		if (getOriginalLocation() != null) {
			Bbox oldBounds = (Bbox) getOriginalLocation();
			Bbox newBounds = (Bbox) oldBounds.clone();
			newBounds.setCenterPoint(position);
			setOriginalLocation(newBounds);
		} else {
			setOriginalLocation(new Bbox(position.getX(), position.getY(), 0, 0));
		}
	}
498151
protected void addCoordinateToGeometry(Coordinate newCoordinate) {
		int length = geometry.getCoordinates().length;
		Coordinate[] oldCoords = geometry.getCoordinates();
		Coordinate[] newCoords = new Coordinate[length + 1];
		System.arraycopy(oldCoords, 0, newCoords, 0, length);

		// put new coordinate in right position
		newCoords[length] = newCoordinate;

		// create new geometry
		geometry = factory.createLineString(newCoords);

		// update drawing
		updateTempLineAfterClick();
	}
68899
@ConfigArg(0)
  public void setPath(PathImpl path)
  {
    if (path.getPath().endsWith(".jar")
        || path.getPath().endsWith(".zip")) {
      path = JarPath.create(path);
    }

    _path = path;
  }
125558
public void setLocation(final Point2D LOCATION) {
        this.lon = LOCATION.getX();
        this.lat = LOCATION.getY();
        this.LOCATION.setLocation(LOCATION);
        this.LOCATION_XY.setLocation(toXY(this.lat, this.lon));
        adjustDirection();
    }
1157662
public void addSourcePath(File sourcePath) {
		if (this.sourcePath == null) {
			this.sourcePath = new ArrayList<>();
		}
		this.sourcePath.add(sourcePath);
	}
367438
void addPosition( String filename, int line, int column ) {
        LessFilePosition pos = new LessFilePosition( filename, line, column );
        if( !positions.contains( pos ) ) {
            this.positions.add( pos );
        }
    }
16261
public void addItem(Point coordinates, Drawable item) {
	assertEDT();
	if (coordinates == null || item == null) {
	    throw new IllegalArgumentException("Coordinates and added item cannot be null");
	}
	log.trace("[addItem] New item added @ {}", coordinates);
	getPanelAt(coordinates).addModel(item);
	getPanelAt(coordinates).repaint();

    }
1010644
public void add(ESRIPoint point) {
		if (point.getX() < this.minx) {
			this.minx = point.getX();
		}
		if (point.getX() > this.maxx) {
			this.maxx = point.getX();
		}
		if (point.getY() < this.miny) {
			this.miny = point.getY();
		}
		if (point.getY() > this.maxy) {
			this.maxy = point.getY();
		}
		if (point.getZ() < this.minz) {
			this.minz = point.getZ();
		}
		if (point.getZ() > this.maxz) {
			this.maxz = point.getZ();
		}
		if (point.getM() < this.minm) {
			this.minm = point.getM();
		}
		if (point.getM() > this.maxm) {
			this.maxm = point.getM();
		}
	}
949560
public ConfigurationUpdate add(String path, String key, String value) {
		if (path == null || !path.startsWith("/")) {
			throw new IllegalArgumentException("Path must start with \"/\".");
		}
		@SuppressWarnings("PMD.UseConcurrentHashMap")
		Map<String,String> scoped = paths
				.computeIfAbsent(path, newKey -> new HashMap<String,String>());
		scoped.put(key, value);
		return this;
	}
26051
public void addDestPath(String in, Properties repl) throws IOException {
    Path dPath = new Path(in);
    if (!dPath.isAbsolute() || !dPath.toUri().isAbsolute()) {
      throw new IOException("Path " + in +  " is not absolute.");
    }
    PathInfo pinfo = new PathInfo(dPath, repl);
    if (this.destPath == null) {
      this.destPath = new ArrayList<PathInfo>();
    }
    this.destPath.add(pinfo);
  }
1073186
@Override
  protected PathKelp addPath(Column column)
  {
    PathKelp path = _pathMap.get(column.name());
    
    if (path == null) {
      switch (column.type()) {
      case BLOB:
        path = new PathObjectKelp(column, _table.serializer());
        break;
        
      case OBJECT:
        path = new PathObjectKelp(column, _table.serializer());
        break;
        
      default:
        path = new PathKelp(column);
        break;
      }
      
      _pathMap.put(column.name(), path);
    }
    
    return path;
  }
983280
private void addSourceRoot (final File directory)
  {
    if (this.project != null)
    {
      getLog ().debug ("Adding compile source root: " + directory);
      this.project.addCompileSourceRoot (directory.getAbsolutePath ());
    }
  }
167966
public static void addEntry(final File zip, final String path, final byte[] bytes) {
    operateInPlace(zip, new InPlaceAction() {
      public boolean act(File tmpFile) {
        addEntry(zip, path, bytes, tmpFile);
        return true;
      }
    });
  }
495960
public void addPoint(double x, double y)
    {
        if (npoints >= xpoints.length)
        {
            final int newLength = npoints * 2;
            xpoints = Arrays.copyOf(xpoints, newLength);
            ypoints = Arrays.copyOf(ypoints, newLength);
        }
        xpoints[npoints] = x;
        ypoints[npoints] = y;
        npoints++;
        updateBounds();
    }
1358467
public void addNode (int x, int y, int dir)
    {
        _nodes.add(new PathNode(x, y, dir));
    }
685370
public void startPath(Point point) {
		if (point.isEmpty())
			throw new IllegalArgumentException();// throw new
													// IllegalArgumentException();

		mergeVertexDescription(point.getDescription());
		_initPathStartPoint();
		point.copyTo(m_moveToPoint);

		// TODO check MultiPathImpl.cpp comment
		// "//the description will be merged later"
		// assignVertexDescription(m_moveToPoint.getDescription());
		m_bPathStarted = true;
	}