Class DefaultEdgeFinder

  • All Implemented Interfaces:
    EdgeFinder

    public class DefaultEdgeFinder
    extends Object
    implements EdgeFinder
    Deprecated.
    2D piccolo based code is being removed
    Given a PNode, this will find any edges associated with it, if any.
    Author:
    Nick Collier
    • Constructor Detail

      • DefaultEdgeFinder

        public DefaultEdgeFinder​(List<Network> nets,
                                 Display2D display)
        Deprecated.
    • Method Detail

      • findEdges

        public List<PEdge> findEdges​(org.piccolo2d.PNode node)
        Deprecated.
        Finds the PEdges associated with the specified PNode.
        Specified by:
        findEdges in interface EdgeFinder
        Parameters:
        node - the node whose edges should be found
        Returns:
        the PEdges associated with the specified PNode or an empty list if none are found.