de.grogra.math
Class BezierSurface

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.graph.impl.ContextDependentBase
          extended by de.grogra.math.VertexSetBase
              extended by de.grogra.math.VertexGridImpl
                  extended by de.grogra.math.BezierSurface
All Implemented Interfaces:
ContextDependent, BSplineSurface, KnotVector, VertexGrid, VertexSet, Manageable, Shareable

public class BezierSurface
extends VertexGridImpl
implements BSplineSurface


Nested Class Summary
static class BezierSurface.Type
           
 
Field Summary
static BezierSurface.Type $TYPE
           
static SCOType.Field rational$FIELD
           
 
Fields inherited from class de.grogra.math.VertexGridImpl
uCount, uCount$FIELD
 
Fields inherited from class de.grogra.math.VertexSetBase
data, data$FIELD, dimension, dimension$FIELD
 
Constructor Summary
BezierSurface()
           
BezierSurface(float[] data, int dimension, int uCount)
           
 
Method Summary
 float getKnot(int dim, int index, GraphState gs)
           
 ManageableType getManageableType()
           
 int getUDegree(GraphState gs)
           
 int getUSize(GraphState gs)
           
 int getVDegree(GraphState gs)
           
 int getVSize(GraphState gs)
           
 boolean isRational()
           
 boolean isRational(GraphState gs)
           
 void setRational(boolean value)
           
 
Methods inherited from class de.grogra.math.VertexGridImpl
getUCount, getVertexIndex, setUCount
 
Methods inherited from class de.grogra.math.VertexSetBase
dependsOnContext, getData, getDimension, getDimension, getVertex, getVertexIndex, setData, setDimension
 
Methods inherited from class de.grogra.graph.impl.ContextDependentBase
writeStamp
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.grogra.math.VertexGrid
getVertexIndex
 
Methods inherited from interface de.grogra.math.VertexSet
getDimension, getVertex
 
Methods inherited from interface de.grogra.graph.ContextDependent
dependsOnContext, writeStamp
 

Field Detail

$TYPE

public static final BezierSurface.Type $TYPE

rational$FIELD

public static final SCOType.Field rational$FIELD
Constructor Detail

BezierSurface

public BezierSurface()

BezierSurface

public BezierSurface(float[] data,
                     int dimension,
                     int uCount)
Method Detail

getKnot

public float getKnot(int dim,
                     int index,
                     GraphState gs)
Specified by:
getKnot in interface KnotVector

getManageableType

public ManageableType getManageableType()
Specified by:
getManageableType in interface Manageable
Overrides:
getManageableType in class VertexGridImpl

getUDegree

public int getUDegree(GraphState gs)
Specified by:
getUDegree in interface BSplineSurface

getUSize

public int getUSize(GraphState gs)
Specified by:
getUSize in interface VertexGrid
Overrides:
getUSize in class VertexGridImpl

getVDegree

public int getVDegree(GraphState gs)
Specified by:
getVDegree in interface BSplineSurface

getVSize

public int getVSize(GraphState gs)
Specified by:
getVSize in interface VertexGrid
Overrides:
getVSize in class VertexGridImpl

isRational

public boolean isRational()

isRational

public boolean isRational(GraphState gs)
Specified by:
isRational in interface VertexSet
Overrides:
isRational in class VertexSetBase

setRational

public void setRational(boolean value)