Return the y coordinate.

@return the y value
331796
private double getY() {
        double res;
        switch (model().getEventModel().eventType()) {
            case CREATE_COMMAND_FACADE:
            case CREATE_COMMAND:
                res = -200 * Math.sin(Math.PI / 2);
                break;
            case CREATE_GLOBAL_FACADE:
            case CREATE_APPLICATION:
            case CREATE_NOTIFIER:
                res = 0;
                break;
            case CREATE_SERVICE_FACADE:
            case CREATE_UI_FACADE:
            case CREATE_MODEL:
            case CREATE_SERVICE:
                res = +200 * Math.sin(Math.PI / 6);
                break;
            default:
                res = 50;
        }
        return res;
    }
764871
def position_to_value(self, y):
        """"""
        vsb = self.editor.verticalScrollBar()
        return vsb.minimum()+max([0, (y-self.offset)/self.get_scale_factor()])
981453
def yVal(self):
        
        xml = self._yVal_tmpl.format(**{
            'nsdecls':    ' %s' % nsdecls('c'),
            'numRef_xml': self.numRef_xml(
                self._series.y_values_ref, self._series.number_format,
                self._series.y_values
            ),
        })
        return parse_xml(xml)
1158477
public function getY() : ?float 
    {
        if ( ! $this->hasY()) {
            $this->setY($this->getDefaultY());
        }
        return $this->y;
    }
1325405
public double intersectY(double y)
	{
		if (direction.y == 0)
			return Double.NaN;
		return (y - origin.y) / direction.y;
	}
133319
public Point getEndPos ()
    {
        return new Point(
            (int)(_center.x + Math.round(Math.cos(_sangle + _delta) * _xradius)),
            (int)(_center.y + Math.round(Math.sin(_sangle + _delta) * _yradius)));
    }
1220031
public Coordinate getCenterPoint() {
		double centerX = (width == 0 ? x : x + width / 2);
		double centerY = (height == 0 ? y : y + height / 2);
		return new Coordinate(centerX, centerY);
	}
103739
public int dot(LongIntVector y) {
        if (y instanceof LongIntSortedVector) {
            LongIntSortedVector other = ((LongIntSortedVector) y);
            int dot = 0;
            int oc = 0;
            for (int c = 0; c < used; c++) {
                while (oc < other.used) {
                    if (other.indices[oc] < indices[c]) {
                        oc++;
                    } else if (indices[c] == other.indices[oc]) {
                        dot += values[c] * other.values[oc];
                        break;
                    } else {
                        break;
                    }
                }
            }
            return dot;
        } else {
            int dot = 0;
            for (int c = 0; c < used; c++) {
                dot += this.values[c] * y.get(indices[c]);
            }
            return dot;
        }
    }
1052869
public Point getScreenCoords (int x, int y)
    {
        return MisoUtil.fullToScreen(_metrics, x, y, new Point());
    }
1169570
public boolean lt(int x, int y) {
    return this.vars.get(x).activity() > this.vars.get(y).activity();
  }
1281003
@Pure
	public DoubleProperty y1Property() {
		if (this.p1.y == null) {
			this.p1.y = new SimpleDoubleProperty(this, MathFXAttributeNames.Y1);
		}
		return this.p1.y;
	}
1290350
def get_position(self):
        
        with self._lock:
            return self.x, self.y, self.angle
42255
@Pure
	public static double fromESRI_y(double y) throws IOException {
		if (Double.isInfinite(y) || Double.isNaN(y)) {
			throw new InvalidNumericValueException(y);
		}
		return y;
	}
173419
private Point getCellPoint() {
        double x1 = (minX + cellI * deltaX) + (deltaX / 2d);
        double y1 = (minY + cellJ * deltaY) + (deltaY / 2d);
        cellI++;
        return GF.createPoint(new Coordinate(x1, y1));
    }
1014851
def y(self, position=None):
        """"""
        p = self.GetPosition()
        if position is None:
            return p[1]
        self.SetPosition(p[0], position, p[2])
        if self.trail:
            self.updateTrail()
        return self
1051285
@Pure
	public IntegerProperty y2Property() {
		if (this.p2.y == null) {
			this.p2.y = new SimpleIntegerProperty(this, MathFXAttributeNames.Y2);
		}
		return this.p2.y;
	}
374458
@Default
	public int getOffset() {
		String value = getValue();
		String superstring = getSuperstring();
		return value != null && superstring != null ? superstring.indexOf(value) : -1;
	}