Package toxi.geom

Interface QuadtreeVisitor


public interface QuadtreeVisitor
This interface is the core part of the visitor pattern application for PointQuadtrees. It can be used to apply a procedure to all tree nodes when passed to PointQuadtree#applyVisitor(QuadtreeVisitor).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the procedure defined by an implementation of this interface to the given tree node.
  • Method Details

    • visitNode

      void visitNode(PointQuadtree node)
      Applies the procedure defined by an implementation of this interface to the given tree node.
      Parameters:
      node -