visitItem method
Visits an item in the index.
@param item the index item to be visited
Implementation
void visitItem(Object item) {
LineSegment seg = item as LineSegment;
counter.countSegment(seg.getCoordinate(0), seg.getCoordinate(1));
}
Visits an item in the index.
@param item the index item to be visited
void visitItem(Object item) {
LineSegment seg = item as LineSegment;
counter.countSegment(seg.getCoordinate(0), seg.getCoordinate(1));
}