de.grogra.math
Class SubGrid
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.SubGrid
- All Implemented Interfaces:
- ContextDependent, VertexGrid, VertexSet, Manageable, Shareable
public class SubGrid
- extends ContextDependentBase
- implements VertexGrid
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final SubGrid.Type $TYPE
grid$FIELD
public static final SCOType.Field grid$FIELD
offsetU$FIELD
public static final SCOType.Field offsetU$FIELD
offsetV$FIELD
public static final SCOType.Field offsetV$FIELD
step$FIELD
public static final SCOType.Field step$FIELD
widthU$FIELD
public static final SCOType.Field widthU$FIELD
widthV$FIELD
public static final SCOType.Field widthV$FIELD
SubGrid
public SubGrid()
dependsOnContext
public boolean dependsOnContext()
- Description copied from interface:
ContextDependent
- Determines whether this object actually depends on context.
- Specified by:
dependsOnContext in interface ContextDependent
- Returns:
true iff this object depends on context
getDimension
public int getDimension(GraphState gs)
- Specified by:
getDimension in interface VertexSet
getGrid
public VertexGrid getGrid()
getManageableType
public ManageableType getManageableType()
- Specified by:
getManageableType in interface Manageable
getOffsetU
public int getOffsetU()
getOffsetV
public int getOffsetV()
getStep
public int getStep()
getUSize
public int getUSize(GraphState gs)
- Specified by:
getUSize in interface VertexGrid
getVertex
public int getVertex(float[] out,
int index,
GraphState gs)
- Specified by:
getVertex in interface VertexSet
getVertexIndex
public int getVertexIndex(int u,
int v,
GraphState gs)
- Specified by:
getVertexIndex in interface VertexGrid
getVSize
public int getVSize(GraphState gs)
- Specified by:
getVSize in interface VertexGrid
getWidthU
public int getWidthU()
getWidthV
public int getWidthV()
isRational
public boolean isRational(GraphState gs)
- Specified by:
isRational in interface VertexSet
setGrid
public void setGrid(VertexGrid value)
setOffsetU
public void setOffsetU(int value)
setOffsetV
public void setOffsetV(int value)
setStep
public void setStep(int value)
setWidthU
public void setWidthU(int value)
setWidthV
public void setWidthV(int value)