void rebuildEventPoints() {
		int k;
		Vector<EventSymbol> x = new Vector<EventSymbol>();

		if (this.eventSymbol != null) {
			for (k = 0; k < this.eventSymbol.length; k++) {
				remove(this.eventSymbol[k]);
			}
		}

		if (this.eventPos != null && this.drawPoints) {
			for (k = 0; k < this.eventPositions.length; k++) {
				EventSymbol s = new EventSymbol(k);
				x.add(s);
				add(s);
				if (s.eventPosition.getFromBody() == null
						&& this.drawOrbits
						|| this.centerToBody >= 0
						&& s.eventPosition.getFromBody() == this.integrador.systemRef.descriptions[this.centerToBody]) {
					s.setVisible(true);
				} else {
					s.setVisible(false);
				}
			}
		}
		this.eventSymbol = x.toArray(new EventSymbol[x.size()]);
	}