de.grogra.math
public class RuledSurface extends ContextDependentBase implements BSplineCurveList
| Modifier and Type | Class and Description |
|---|---|
static class |
RuledSurface.Type |
| Modifier and Type | Field and Description |
|---|---|
static RuledSurface.Type |
$TYPE |
static SCOType.Field |
firstProfile$FIELD |
static SCOType.Field |
secondProfile$FIELD |
| Constructor and Description |
|---|
RuledSurface() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCurvesCompatible(GraphState gs) |
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getDegree(int curve,
GraphState gs) |
int |
getDimension(int curve,
GraphState gs) |
BSplineCurve |
getFirstProfile() |
float |
getKnot(int curve,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
BSplineCurve |
getSecondProfile() |
int |
getSize(GraphState gs) |
int |
getSize(int curve,
GraphState gs) |
int |
getVertex(float[] out,
int curve,
int index,
GraphState gs) |
boolean |
isRational(int curve,
GraphState gs) |
void |
setFirstProfile(BSplineCurve value) |
void |
setSecondProfile(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, removeReferencepublic static final RuledSurface.Type $TYPE
public static final SCOType.Field firstProfile$FIELD
public static final SCOType.Field secondProfile$FIELD
public boolean areCurvesCompatible(GraphState gs)
areCurvesCompatible in interface BSplineCurveListpublic boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getDegree(int curve,
GraphState gs)
getDegree in interface BSplineCurveListpublic int getDimension(int curve,
GraphState gs)
getDimension in interface BSplineCurveListpublic BSplineCurve getFirstProfile()
public float getKnot(int curve,
int index,
GraphState gs)
getKnot in interface BSplineCurveListpublic ManageableType getManageableType()
getManageableType in interface Manageablepublic BSplineCurve getSecondProfile()
public int getSize(GraphState gs)
getSize in interface BSplineCurveListpublic int getSize(int curve,
GraphState gs)
getSize in interface BSplineCurveListpublic int getVertex(float[] out,
int curve,
int index,
GraphState gs)
getVertex in interface BSplineCurveListpublic boolean isRational(int curve,
GraphState gs)
isRational in interface BSplineCurveListpublic void setFirstProfile(BSplineCurve value)
public void setSecondProfile(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