public void subdivide(QuadCurve2D l, QuadCurve2D r) { if (l == null) l = new QuadCurve2D.Double(); if (r == null) r = new QuadCurve2D.Double();
public void subdivide(QuadCurve2D left, QuadCurve2D right) {
	public void subdivide(QuadCurve2D l, QuadCurve2D r) {		if (l == null)			l = new QuadCurve2D.Double();		if (r == null)			r = new QuadCurve2D.Double();		// Use empty slots at end to share single array.		double[] d = new double[] { getX1(), getY1(), getCtrlX(), getCtrlY(), getX2(), getY2(), 0, 0, 0, 0 };		subdivide(d, 0, d, 0, d, 4);		l.setCurve(d, 0);		r.setCurve(d, 4);	}