samples.preview_new_graphdraw
Class VisVertex
java.lang.Object
samples.preview_new_graphdraw.Coordinates
samples.preview_new_graphdraw.VisVertex
- Direct Known Subclasses:
- SpringLayout.SpringVertex
public class VisVertex
- extends Coordinates
- Author:
- Scott and Danyel
Fields inherited from class samples.preview_new_graphdraw.Coordinates |
x, y |
mVertex
protected Vertex mVertex
VisVertex
public VisVertex(Vertex v,
double x,
double y)
getSquareDistance
public double getSquareDistance(double x,
double y)
getVertex
public Vertex getVertex()
- Returns:
copy
public VisVertex copy()
- Creates a new visvertex with this same location
- Returns: