code: public void add(double x, double y, double z) {
  		resize(m_pointCount + 1);
  		Point3D pt = new Point3D();
  		pt.setCoords(x, y, z);
  		setXYZ(m_pointCount - 1, pt);
  	}
docs: Adds a Point to this MultiPoint with given x, y, z coordinates.