Returns the cosine of the angle measured ccw from the positive x-axis to the line between this TPoint and the specified coordinates. @param x the x coordinate @param y the x coordinate @return the cosine of the angle
(double x, double y)
| 558 | * @return the cosine of the angle |
| 559 | */ |
| 560 | public double cos(double x, double y) { |
| 561 | return (x - getX()) / distance(x, y); |
| 562 | } |
| 563 | |
| 564 | /** |
| 565 | * Returns the cosine of the angle measured ccw from the positive x-axis to the |