|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xistrat.util.d3.vrmlgraph.ViewCenterer
public class ViewCenterer
A class used for centering a graph about the origin
Constructor Summary | |
---|---|
ViewCenterer(GraphData graph)
Constructor for the ViewCenterer object |
Method Summary | |
---|---|
void |
center()
Calculates the average x, y and z coordinates of all of the nodes in the GraphData object that was passed via its constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewCenterer(GraphData graph)
graph
- The GraphData object to be centeredMethod Detail |
---|
public void center()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |