de.grogra.math
public class SubGrid extends ContextDependentBase implements VertexGrid
| Modifier and Type | Class and Description |
|---|---|
static class |
SubGrid.Type |
| Modifier and Type | Field and Description |
|---|---|
static SubGrid.Type |
$TYPE |
static SCOType.Field |
grid$FIELD |
static SCOType.Field |
offsetU$FIELD |
static SCOType.Field |
offsetV$FIELD |
static SCOType.Field |
step$FIELD |
static SCOType.Field |
widthU$FIELD |
static SCOType.Field |
widthV$FIELD |
| Constructor and Description |
|---|
SubGrid() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getDimension(GraphState gs) |
VertexGrid |
getGrid() |
ManageableType |
getManageableType() |
int |
getOffsetU() |
int |
getOffsetV() |
int |
getStep() |
int |
getUSize(GraphState gs) |
int |
getVertex(float[] out,
int index,
GraphState gs) |
int |
getVertexIndex(int u,
int v,
GraphState gs) |
int |
getVSize(GraphState gs) |
int |
getWidthU() |
int |
getWidthV() |
boolean |
isRational(GraphState gs) |
void |
setGrid(VertexGrid value) |
void |
setOffsetU(int value) |
void |
setOffsetV(int value) |
void |
setStep(int value) |
void |
setWidthU(int value) |
void |
setWidthV(int value) |
writeStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteStamppublic static final SubGrid.Type $TYPE
public static final SCOType.Field grid$FIELD
public static final SCOType.Field offsetU$FIELD
public static final SCOType.Field offsetV$FIELD
public static final SCOType.Field step$FIELD
public static final SCOType.Field widthU$FIELD
public static final SCOType.Field widthV$FIELD
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getDimension(GraphState gs)
getDimension in interface VertexSetpublic VertexGrid getGrid()
public ManageableType getManageableType()
getManageableType in interface Manageablepublic int getOffsetU()
public int getOffsetV()
public int getStep()
public int getUSize(GraphState gs)
getUSize in interface VertexGridpublic int getVertex(float[] out,
int index,
GraphState gs)
public int getVertexIndex(int u,
int v,
GraphState gs)
getVertexIndex in interface VertexGridpublic int getVSize(GraphState gs)
getVSize in interface VertexGridpublic int getWidthU()
public int getWidthV()
public boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setGrid(VertexGrid value)
public void setOffsetU(int value)
public void setOffsetV(int value)
public void setStep(int value)
public void setWidthU(int value)
public void setWidthV(int value)