public Point2D transform(Point2D src, Point2D dst) { if (dst == null) { if (src instanceof Point2D.Double) { dst = new Point2D.Double(); } else { dst = new Point2D.Float(); } } double x = src.getX(); double y = src.getY(); dst.setLocation(x * m00 + y * m01 + m02, x * m10 + y * m11 + m12); return dst; }
@Override public Point2D getCtrlPt() { return new Point2D.Double(ctrlx, ctrly); }
@Override public Point2D getP2() { return new Point2D.Double(x2, y2); }
@Override public Point2D getCtrlP2() { return new Point2D.Double(ctrlx2, ctrly2); }
@Override public Point2D getP1() { return new Point2D.Double(x1, y1); }
@Override public Point2D getCtrlPt() { return new Point2D.Double(ctrlx, ctrly); }
@Override public Point2D getP2() { return new Point2D.Double(x2, y2); }
@Override public Point2D getCtrlP2() { return new Point2D.Double(ctrlx2, ctrly2); }
@Override public Point2D getCtrlP1() { return new Point2D.Double(ctrlx1, ctrly1); }
public Point2D deltaTransform(Point2D src, Point2D dst) { if (dst == null) { if (src instanceof Point2D.Double) { dst = new Point2D.Double(); } else { dst = new Point2D.Float(); } } double x = src.getX(); double y = src.getY(); dst.setLocation(x * m00 + y * m01, x * m10 + y * m11); return dst; }
@Override public Point2D getP2() { return new Point2D.Double(x2, y2); }
@Override public Point2D getP1() { return new Point2D.Double(x1, y1); }
public Point2D transform(Point2D src, Point2D dst) { if (dst == null) { if (src instanceof Point2D.Double) { dst = new Point2D.Double(); } else { dst = new Point2D.Float(); } } double x = src.getX(); double y = src.getY(); dst.setLocation(x * m00 + y * m01 + m02, x * m10 + y * m11 + m12); return dst; }
@Override public Point2D getP1() { return new Point2D.Double(x1, y1); }
@Override public Point2D getCtrlP1() { return new Point2D.Double(ctrlx1, ctrly1); }
@Override public Point2D getP2() { return new Point2D.Double(x2, y2); }
@Override public Point2D getP1() { return new Point2D.Double(x1, y1); }
@Override public Point2D getP2() { return new Point2D.Double(x2, y2); }
public Point2D deltaTransform(Point2D src, Point2D dst) { if (dst == null) { if (src instanceof Point2D.Double) { dst = new Point2D.Double(); } else { dst = new Point2D.Float(); } } double x = src.getX(); double y = src.getY(); dst.setLocation(x * m00 + y * m01, x * m10 + y * m11); return dst; }
@Override public Point2D getP1() { return new Point2D.Double(x1, y1); }