Module math

Class SubGrid

All Implemented Interfaces:
ContextDependent, VertexGrid, VertexSet, Manageable, Shareable

public class SubGrid extends ContextDependentBase implements VertexGrid
  • Field Details

  • Constructor Details

    • SubGrid

      public SubGrid()
  • Method Details

    • getManageableType

      public ManageableType getManageableType()
      Specified by:
      getManageableType in interface Manageable
    • getOffsetU

      public int getOffsetU()
    • setOffsetU

      public void setOffsetU(int value)
    • getOffsetV

      public int getOffsetV()
    • setOffsetV

      public void setOffsetV(int value)
    • getWidthU

      public int getWidthU()
    • setWidthU

      public void setWidthU(int value)
    • getWidthV

      public int getWidthV()
    • setWidthV

      public void setWidthV(int value)
    • getStep

      public int getStep()
    • setStep

      public void setStep(int value)
    • getGrid

      public VertexGrid getGrid()
    • setGrid

      public void setGrid(VertexGrid value)
    • getUSize

      public int getUSize(GraphState gs)
      Specified by:
      getUSize in interface VertexGrid
    • getVSize

      public int getVSize(GraphState gs)
      Specified by:
      getVSize in interface VertexGrid
    • getVertexIndex

      public int getVertexIndex(int u, int v, GraphState gs)
      Specified by:
      getVertexIndex in interface VertexGrid
    • getDimension

      public int getDimension(GraphState gs)
      Specified by:
      getDimension in interface VertexSet
    • isRational

      public boolean isRational(GraphState gs)
      Specified by:
      isRational in interface VertexSet
    • getVertex

      public int getVertex(float[] out, int index, GraphState gs)
      Specified by:
      getVertex in interface VertexSet
    • 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