de.grogra.math
Class SwungSurface

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

public class SwungSurface
extends ProductSurface


Nested Class Summary
static class SwungSurface.Type
           
 
Field Summary
static SwungSurface.Type $TYPE
           
static SCOType.Field scale$FIELD
           
static SCOType.Field shift$FIELD
           
 
Fields inherited from class de.grogra.math.ProductSurface
profile$FIELD, trajectory$FIELD
 
Constructor Summary
SwungSurface()
           
SwungSurface(BSplineCurve profile, BSplineCurve trajectory, float shift, float scale)
           
 
Method Summary
 ManageableType getManageableType()
           
 float getScale()
           
 float getShift()
           
 int getVertex(float[] out, int index, GraphState gs)
           
 void setScale(float value)
           
 void setShift(float value)
           
 
Methods inherited from class de.grogra.math.ProductSurface
dependsOnContext, getDimension, getKnot, getProfile, getTrajectory, getUDegree, getUSize, getVDegree, getVertexIndex, getVSize, isRational, setProfile, setTrajectory, 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
 

Field Detail

$TYPE

public static final SwungSurface.Type $TYPE

scale$FIELD

public static final SCOType.Field scale$FIELD

shift$FIELD

public static final SCOType.Field shift$FIELD
Constructor Detail

SwungSurface

public SwungSurface()

SwungSurface

public SwungSurface(BSplineCurve profile,
                    BSplineCurve trajectory,
                    float shift,
                    float scale)
Method Detail

getManageableType

public ManageableType getManageableType()

getScale

public float getScale()

getShift

public float getShift()

getVertex

public int getVertex(float[] out,
                     int index,
                     GraphState gs)

setScale

public void setScale(float value)

setShift

public void setShift(float value)