@Override public boolean relaxOperatingArea(Point point, Direction direction, int miles) { OperatingAreaRelaxation relaxation = OperatingAreaRelaxation.getInstance(); Polygon p = relaxation.relax(this.ploygon, direction, miles); if (p.contains(point)) { return true; } return false; }
@Override public boolean isCovered(Point point) { return ploygon.contains(point); }