/* * (non-Javadoc) * * @see math.geom2d.Curve2D#point(double, math.geom2d.Point2D) */ public Point2D point(double t) { // check bounds t = max(t, 0); t = min(t, abs(angleExtent)); // convert position to angle if (angleExtent < 0) t = startAngle - t; else t = startAngle + t; // return corresponding point return ellipse.point(t); }