public double[] getXY(double[] result, double t) {
		double tant = Math.tan(t);
		double sect = tant / Math.sin(t);
		double x = (h + a * sect);
		double y = (k + b * tant);
		if (result == null) {
			result = new double[2];
		}
		result[0] = x;
		result[1] = y;
		return result;
	}