a = (Arrival)arrivals.elementAt(i);
x = new int[a.getNumPathPoints()];
y = new int[a.getNumPathPoints()];
for(int j = 0; j < x.length; j++) {
x[j] = xOffset
<BUG>+ (int)Math.rint(Math.sin(a.getPathPoint(j).distRadian)
</BUG>
y[j] = yOffset
<BUG>- (int)Math.rint(Math.cos(a.getPathPoint(j).distRadian)
</BUG>
}

a = (Arrival)arrivals.elementAt(i);
x = new int[a.getNumPathPoints()];
y = new int[a.getNumPathPoints()];
for(int j = 0; j < x.length; j++) {
x[j] = xOffset
+ (int)Math.rint(Math.sin(a.getPathPoint(j).getDistRadian())
y[j] = yOffset
- (int)Math.rint(Math.cos(a.getPathPoint(j).getDistRadian())
}
