All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.uci.ics.jung.algorithms.layout3d.GraphElementAccessor Maven / Gradle / Ivy

/*
 * Copyright (c) 2005, the JUNG Project and the Regents of the University of
 * California All rights reserved.
 * 
 * This software is open-source under the BSD license; see either "license.txt"
 * or http://jung.sourceforge.net/license.txt for a description.
 * 
 *
 * Created on Apr 12, 2005
 */
package edu.uci.ics.jung.algorithms.layout3d;

import javax.vecmath.Point3f;




/**
 * Interface for coordinate-based selection of graph components.
 * @author Tom Nelson
 * @author Joshua O'Madadhain
 */
public interface GraphElementAccessor
{
    /**
     * Returns a Vertex which is associated with the 
     * location (x,y).  This is typically determined
     * with respect to the Vertex's location as specified
     * by a Layout.
     */
    V getVertex(Layout layout, Point3f p);

    /**
     * Returns an Edge which is associated with the 
     * location (x,y).  This is typically determined
     * with respect to the Edge's location as specified
     * by a Layout.
     */
//    E getEdge(Layout layout, double x, double y);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy