@Override public void loadContour(int contourID, FastQueue<Point2D_I32> storage) { alg.getExternalContours().getSet(contourID,storage); }
@Override public void loadContour(int contourID, FastQueue<Point2D_I32> storage) { finder.getPackedPoints().getSet(contourID,storage); }
public List<Point2D_I32> getSet(int which) { FastQueue<Point2D_I32> tmp = new FastQueue<>(Point2D_I32.class,true); getSet(which,tmp); List<Point2D_I32> output = new ArrayList<>(); output.addAll( tmp.toList() ); return output; }