PlaSegmentInt curr_segment = polyline.segment_get(index + 1);
if (p_clip_shape != null)
{
if ( ! p_clip_shape.intersects(curr_segment.bounding_box())) continue;
}
<BUG>ShapeTile curr_shape = get_tree_shape(default_tree, index);
LinkedList<AwtreeEntry> over_tree_entries = new LinkedList<AwtreeEntry>();
default_tree.calc_overlapping_tree_entries(curr_shape, get_layer(), over_tree_entries);</BUG>
Iterator<AwtreeEntry> over_tree_iter = over_tree_entries.iterator();
while (over_tree_iter.hasNext())

PlaSegmentInt curr_segment = polyline.segment_get(index + 1);
if (p_clip_shape != null)
{
if ( ! p_clip_shape.intersects(curr_segment.bounding_box())) continue;
}
ShapeTile curr_shape = get_tree_shape(default_tree, index);
Collection<AwtreeEntry> over_tree_entries = default_tree.find_overlap_tree_entries(curr_shape, get_layer());
Iterator<AwtreeEntry> over_tree_iter = over_tree_entries.iterator();
while (over_tree_iter.hasNext())
