de.grogra.math
public class IsoCurve extends ContextDependentBase implements BSplineCurve
| Modifier and Type | Class and Description |
|---|---|
static class |
IsoCurve.Type |
| Modifier and Type | Field and Description |
|---|---|
static IsoCurve.Type |
$TYPE |
static SCOType.Field |
direction$FIELD |
static SCOType.Field |
parameter$FIELD |
static SCOType.Field |
surface$FIELD |
| Constructor and Description |
|---|
IsoCurve() |
IsoCurve(BSplineSurface surface) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getDegree(GraphState gs) |
int |
getDimension(GraphState gs) |
float |
getKnot(int dim,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
float |
getParameter() |
int |
getSize(GraphState gs) |
BSplineSurface |
getSurface() |
int |
getVertex(float[] out,
int index,
GraphState gs) |
boolean |
isDirection() |
boolean |
isRational(GraphState gs) |
void |
setDirection(boolean value) |
void |
setParameter(float value) |
void |
setSurface(BSplineSurface value) |
void |
writeStamp(Cache.Entry cache,
GraphState gs)
Writes a stamp of the context into
cache. |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final IsoCurve.Type $TYPE
public static final SCOType.Field direction$FIELD
public static final SCOType.Field parameter$FIELD
public static final SCOType.Field surface$FIELD
public IsoCurve()
public IsoCurve(BSplineSurface surface)
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getDegree(GraphState gs)
getDegree in interface BSplineCurvepublic int getDimension(GraphState gs)
getDimension in interface VertexSetpublic float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic ManageableType getManageableType()
getManageableType in interface Manageablepublic float getParameter()
public int getSize(GraphState gs)
getSize in interface VertexListpublic BSplineSurface getSurface()
public int getVertex(float[] out,
int index,
GraphState gs)
public boolean isDirection()
public boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setDirection(boolean value)
public void setParameter(float value)
public void setSurface(BSplineSurface 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