Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jssun / awt / geom / Edge.js
index 944d31d..a75df8f 100644 (file)
@@ -1,78 +1,78 @@
-Clazz.declarePackage ("jssun.awt.geom");\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.curve = null;\r
-this.ctag = 0;\r
-this.etag = 0;\r
-this.activey = 0;\r
-this.equivalence = 0;\r
-this.lastEdge = null;\r
-this.lastResult = 0;\r
-this.lastLimit = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.awt.geom, "Edge");\r
-Clazz.makeConstructor (c$, \r
-function (c, ctag) {\r
-this.construct (c, ctag, 0);\r
-}, "jssun.awt.geom.Curve,~N");\r
-Clazz.makeConstructor (c$, \r
-function (c, ctag, etag) {\r
-this.curve = c;\r
-this.ctag = ctag;\r
-this.etag = etag;\r
-}, "jssun.awt.geom.Curve,~N,~N");\r
-Clazz.defineMethod (c$, "getCurve", \r
-function () {\r
-return this.curve;\r
-});\r
-Clazz.defineMethod (c$, "getCurveTag", \r
-function () {\r
-return this.ctag;\r
-});\r
-Clazz.defineMethod (c$, "getEdgeTag", \r
-function () {\r
-return this.etag;\r
-});\r
-Clazz.defineMethod (c$, "setEdgeTag", \r
-function (etag) {\r
-this.etag = etag;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getEquivalence", \r
-function () {\r
-return this.equivalence;\r
-});\r
-Clazz.defineMethod (c$, "setEquivalence", \r
-function (eq) {\r
-this.equivalence = eq;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "compareTo", \r
-function (other, yrange) {\r
-if (other === this.lastEdge && yrange[0] < this.lastLimit) {\r
-if (yrange[1] > this.lastLimit) {\r
-yrange[1] = this.lastLimit;\r
-}return this.lastResult;\r
-}if (this === other.lastEdge && yrange[0] < other.lastLimit) {\r
-if (yrange[1] > other.lastLimit) {\r
-yrange[1] = other.lastLimit;\r
-}return 0 - other.lastResult;\r
-}var ret = this.curve.compareTo (other.curve, yrange);\r
-this.lastEdge = other;\r
-this.lastLimit = yrange[1];\r
-this.lastResult = ret;\r
-return ret;\r
-}, "jssun.awt.geom.Edge,~A");\r
-Clazz.defineMethod (c$, "record", \r
-function (yend, etag) {\r
-this.activey = yend;\r
-this.etag = etag;\r
-}, "~N,~N");\r
-Clazz.defineMethod (c$, "isActiveFor", \r
-function (y, etag) {\r
-return (this.etag == etag && this.activey >= y);\r
-}, "~N,~N");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return ("Edge[" + this.curve + ", " + (this.ctag == 0 ? "L" : "R") + ", " + (this.etag == 1 ? "I" : (this.etag == -1 ? "O" : "N")) + "]");\r
-});\r
-Clazz.defineStatics (c$,\r
-"INIT_PARTS", 4,\r
-"GROW_PARTS", 10);\r
+Clazz.declarePackage ("jssun.awt.geom");
+c$ = Clazz.decorateAsClass (function () {
+this.curve = null;
+this.ctag = 0;
+this.etag = 0;
+this.activey = 0;
+this.equivalence = 0;
+this.lastEdge = null;
+this.lastResult = 0;
+this.lastLimit = 0;
+Clazz.instantialize (this, arguments);
+}, jssun.awt.geom, "Edge");
+Clazz.makeConstructor (c$, 
+function (c, ctag) {
+this.construct (c, ctag, 0);
+}, "jssun.awt.geom.Curve,~N");
+Clazz.makeConstructor (c$, 
+function (c, ctag, etag) {
+this.curve = c;
+this.ctag = ctag;
+this.etag = etag;
+}, "jssun.awt.geom.Curve,~N,~N");
+Clazz.defineMethod (c$, "getCurve", 
+function () {
+return this.curve;
+});
+Clazz.defineMethod (c$, "getCurveTag", 
+function () {
+return this.ctag;
+});
+Clazz.defineMethod (c$, "getEdgeTag", 
+function () {
+return this.etag;
+});
+Clazz.defineMethod (c$, "setEdgeTag", 
+function (etag) {
+this.etag = etag;
+}, "~N");
+Clazz.defineMethod (c$, "getEquivalence", 
+function () {
+return this.equivalence;
+});
+Clazz.defineMethod (c$, "setEquivalence", 
+function (eq) {
+this.equivalence = eq;
+}, "~N");
+Clazz.defineMethod (c$, "compareTo", 
+function (other, yrange) {
+if (other === this.lastEdge && yrange[0] < this.lastLimit) {
+if (yrange[1] > this.lastLimit) {
+yrange[1] = this.lastLimit;
+}return this.lastResult;
+}if (this === other.lastEdge && yrange[0] < other.lastLimit) {
+if (yrange[1] > other.lastLimit) {
+yrange[1] = other.lastLimit;
+}return 0 - other.lastResult;
+}var ret = this.curve.compareTo (other.curve, yrange);
+this.lastEdge = other;
+this.lastLimit = yrange[1];
+this.lastResult = ret;
+return ret;
+}, "jssun.awt.geom.Edge,~A");
+Clazz.defineMethod (c$, "record", 
+function (yend, etag) {
+this.activey = yend;
+this.etag = etag;
+}, "~N,~N");
+Clazz.defineMethod (c$, "isActiveFor", 
+function (y, etag) {
+return (this.etag == etag && this.activey >= y);
+}, "~N,~N");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return ("Edge[" + this.curve + ", " + (this.ctag == 0 ? "L" : "R") + ", " + (this.etag == 1 ? "I" : (this.etag == -1 ? "O" : "N")) + "]");
+});
+Clazz.defineStatics (c$,
+"INIT_PARTS", 4,
+"GROW_PARTS", 10);