computational.geometry.visibilitygraph
Class Graph

java.lang.Object
  extended by computational.geometry.visibilitygraph.Graph

public class Graph
extends java.lang.Object


Constructor Summary
Graph()
           
 
Method Summary
 void addChild(Point p)
           
 void addRoot(Point p)
           
 void clear()
           
 java.util.Vector getArcs()
           
 Point getRoot(int i)
           
 int indexOf(Point p)
           
 int nodesNumber()
           
 java.util.LinkedList nodesOf(int i)
           
 void print()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph

public Graph()
Method Detail

addChild

public void addChild(Point p)

addRoot

public void addRoot(Point p)

clear

public void clear()

getArcs

public java.util.Vector getArcs()

getRoot

public Point getRoot(int i)

indexOf

public int indexOf(Point p)

nodesNumber

public int nodesNumber()

nodesOf

public java.util.LinkedList nodesOf(int i)

print

public void print()