edu.uci.ics.jung.algorithms.layout3d
Class RandomLocationTransformer<V>
java.lang.Object
edu.uci.ics.jung.algorithms.layout3d.RandomLocationTransformer<V>
- Type Parameters:
V
-
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<V,javax.vecmath.Point3f>
public class RandomLocationTransformer<V>
- extends Object
- implements org.apache.commons.collections15.Transformer<V,javax.vecmath.Point3f>
Transforms the input type into a random location within
the bounds of the Dimension property.
This is used as the backing Transformer for the LazyMap
for many Layouts,
and provides a random location for unmapped vertex keys
the first time they are accessed.
- Author:
- Tom Nelson
Method Summary |
javax.vecmath.Point3f |
transform(V v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomLocationTransformer
public RandomLocationTransformer(javax.media.j3d.BoundingSphere d)
RandomLocationTransformer
public RandomLocationTransformer(javax.media.j3d.BoundingSphere d,
long seed)
transform
public javax.vecmath.Point3f transform(V v)
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<V,javax.vecmath.Point3f>
Copyright © 2009. All Rights Reserved.