de.grogra.math
public abstract class ProductSurface extends ContextDependentBase implements BSplineSurface
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductSurface.Type |
| Modifier and Type | Field and Description |
|---|---|
static ProductSurface.Type |
$TYPE |
static SCOType.Field |
profile$FIELD |
static SCOType.Field |
trajectory$FIELD |
| Modifier | Constructor and Description |
|---|---|
protected |
ProductSurface() |
|
ProductSurface(BSplineCurve profile,
BSplineCurve trajectory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getDimension(GraphState gs) |
float |
getKnot(int dim,
int index,
GraphState gs) |
BSplineCurve |
getProfile() |
BSplineCurve |
getTrajectory() |
int |
getUDegree(GraphState gs) |
int |
getUSize(GraphState gs) |
int |
getVDegree(GraphState gs) |
int |
getVertexIndex(int u,
int v,
GraphState gs) |
int |
getVSize(GraphState gs) |
boolean |
isRational(GraphState gs) |
void |
setProfile(BSplineCurve value) |
void |
setTrajectory(BSplineCurve value) |
void |
writeStamp(Cache.Entry cache,
GraphState gs)
Writes a stamp of the context into
cache. |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetManageableTypepublic static final ProductSurface.Type $TYPE
public static final SCOType.Field profile$FIELD
public static final SCOType.Field trajectory$FIELD
protected ProductSurface()
public ProductSurface(BSplineCurve profile, BSplineCurve trajectory)
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getDimension(GraphState gs)
getDimension in interface VertexSetpublic float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic BSplineCurve getProfile()
public BSplineCurve getTrajectory()
public int getUDegree(GraphState gs)
getUDegree in interface BSplineSurfacepublic int getUSize(GraphState gs)
getUSize in interface VertexGridpublic int getVDegree(GraphState gs)
getVDegree in interface BSplineSurfacepublic int getVertexIndex(int u,
int v,
GraphState gs)
getVertexIndex in interface VertexGridpublic int getVSize(GraphState gs)
getVSize in interface VertexGridpublic boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setProfile(BSplineCurve value)
public void setTrajectory(BSplineCurve value)
public void writeStamp(Cache.Entry cache, GraphState gs)
ContextDependentcache. Based on
this stamp, a cache detects whether the context of this
object has changed or not.writeStamp in interface ContextDependentwriteStamp in class ContextDependentBasecache - a cache entry to write the stampgs - the current graph state