1 | initial version |
I'm not familiar with the Java interface but it should be something like
Point difference=Point1-Point2;
double distance =sqrt( difference.ddot(difference));
you are basically doing sqrt((point1.x-point2.x)^2+(point1.y-point2.y)^2)
guy
2 | No.2 Revision |
I'm not familiar with the Java interface but it should be something like
Point difference=Point1-Point2;
double distance =sqrt( difference.ddot(difference));
you are basically doing sqrt((point1.x-point2.x)^2+(point1.y-point2.y)^2)doing:
square root of (point1.x-point2.x)^2+(point1.y-point2.y)^2)
guy