private void addCylinderObstacle(float xc, float yc, float zc, char axis, float h, float a, float b) {
		float r = (float) Math.sqrt(a * a + b * b);
		if (model.atomsOverlapCylinder(xc, yc, zc, axis, h, r)) {
			errorReminder.show(ErrorReminder.OBJECT_OVERLAP);
			viewer.setEllipseVisible(false);
			return;
		}
		viewer.addCylinderObstacle();
		model.addObstacle(new CylinderObstacle(xc, yc, zc, axis, h, r));
		model.notifyChange();
	}