public TimeDist getPiercePoint(int i) {
return pierce[i];
}
public TimeDist getFirstPiercePoint(double depth) {
for(int i = 0; i < pierce.length; i++) {
<BUG>if(pierce[i].depth == depth) {
</BUG>
return pierce[i];
}
}

public TimeDist getPiercePoint(int i) {
return pierce[i];
}
public TimeDist getFirstPiercePoint(double depth) {
for(int i = 0; i < pierce.length; i++) {
if(pierce[i].getDepth() == depth) {
return pierce[i];
}
}
