Lines Matching refs:curve
29 Curve curve;
36 public CurveLink(Curve curve, double ystart, double yend, int etag) {
37 this.curve = curve;
41 if (ytop < curve.getYTop() || ybot > curve.getYBot()) {
42 throw new InternalError("bad curvelink ["+ytop+"=>"+ybot+"] for "+curve);
47 return absorb(link.curve, link.ytop, link.ybot, link.etag);
50 public boolean absorb(Curve curve, double ystart, double yend, int etag) {
51 if (this.curve != curve || this.etag != etag ||
56 if (ystart < curve.getYTop() || yend > curve.getYBot()) {
57 throw new InternalError("bad curvelink ["+ystart+"=>"+yend+"] for "+curve);
69 return curve;
73 if (ytop == curve.getYTop() && ybot == curve.getYBot()) {
74 return curve.getWithDirection(etag);
76 return curve.getSubCurve(ytop, ybot, etag);
84 return curve.XforY(ytop);
92 return curve.XforY(ybot);
100 return curve.XforY(ytop);