Interface Layout.Node
-
- All Known Implementing Classes:
AbstractLayout3DPC.AbstractNode,CompactCircularMSTLayout3DPC.Node,MultidimensionalScalingMSTLayout3DPC.Node,SimpleCircularMSTLayout3DPC.Node
- Enclosing class:
- Layout
public static interface Layout.NodeNode of the layout tree.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Layout.NodegetChild(int off)Get a child node.intgetDim()Get the dimension represented by this node.doublegetX()Get layout X position.doublegetY()Get layout Y position.intnumChildren()Get the number of children.
-
-
-
Method Detail
-
getDim
int getDim()
Get the dimension represented by this node.- Returns:
- Dimension
-
getX
double getX()
Get layout X position.- Returns:
- X position
-
getY
double getY()
Get layout Y position.- Returns:
- Y position
-
getChild
Layout.Node getChild(int off)
Get a child node.- Parameters:
off- offset- Returns:
- Child node.
-
numChildren
int numChildren()
Get the number of children.- Returns:
- Number of children
-
-