Class JungRandomVertexLocationDecorator
- java.lang.Object
-
- repast.simphony.visualization.visualization3D.layout.JungRandomVertexLocationDecorator
-
- All Implemented Interfaces:
JungVertexLocationFunction
public class JungRandomVertexLocationDecorator extends Object implements JungVertexLocationFunction
-
-
Constructor Summary
Constructors Constructor Description JungRandomVertexLocationDecorator(Dimension d)
JungRandomVertexLocationDecorator(Dimension d, boolean zValue)
JungRandomVertexLocationDecorator(Dimension d, int seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getLocation(Object o)
double[]
getLocation(Object o, boolean threeD)
Iterator
getVertexIterator()
void
reset()
Resets all vertex locations returned bygetLocation
to new (random) locations.
-
-
-
Constructor Detail
-
JungRandomVertexLocationDecorator
public JungRandomVertexLocationDecorator(Dimension d)
-
JungRandomVertexLocationDecorator
public JungRandomVertexLocationDecorator(Dimension d, boolean zValue)
-
JungRandomVertexLocationDecorator
public JungRandomVertexLocationDecorator(Dimension d, int seed)
-
-
Method Detail
-
reset
public void reset()
Resets all vertex locations returned bygetLocation
to new (random) locations.
-
getLocation
public double[] getLocation(Object o)
- Specified by:
getLocation
in interfaceJungVertexLocationFunction
-
getLocation
public double[] getLocation(Object o, boolean threeD)
- Specified by:
getLocation
in interfaceJungVertexLocationFunction
-
getVertexIterator
public Iterator getVertexIterator()
- Specified by:
getVertexIterator
in interfaceJungVertexLocationFunction
-
-