public double[] getXY(double[] result, double t) {
		double x = (r * Math.cos(t) + a);
		double y = (r * Math.sin(t) + b);
		if (result == null) {
			result = new double[2];
		}
		result[0] = x;
		result[1] = y;
		return result;
	}