public class Point
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
double |
distance(Point other) |
double |
distanceSq(Point other) |
double |
getX() |
double |
getY() |
void |
setPerpendicular(Point other) |
void |
setPerpendicular(Point p1,
Point p2) |
java.lang.String |
toString() |
public double getX()
public double getY()
public double distance(Point other)
public double distanceSq(Point other)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setPerpendicular(Point other)