// EuclideanFP.java // Distance measure used for the Euclidean farthest-point VD import java.awt.Point; public class EuclideanFP extends Metric { public double distance(Shape s, Point p) { return -s.euclideanSq(p); // To save time, return squared distance } }