de.grogra.math
public abstract class Circular extends ContextDependentBase implements BSplineCurve, XObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Circular.Type |
| Modifier and Type | Field and Description |
|---|---|
static Circular.Type |
$TYPE |
static SCOType.Field |
intermediateArcs$FIELD |
static SCOType.Field |
plane$FIELD |
static SCOType.Field |
reverse$FIELD |
static SCOType.Field |
startingAtCenter$FIELD |
| Constructor and Description |
|---|
Circular() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract float[] |
calculateCache(GraphState gs) |
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
protected abstract int |
getArcCount() |
int |
getDegree(GraphState gs) |
float |
getIntermediateArcs() |
float |
getKnot(int dim,
int index,
GraphState gs) |
int |
getPlane() |
int |
getSize(GraphState gs) |
int |
getVertex(float[] out,
int index,
GraphState gs) |
XClass |
getXClass() |
XData |
getXData() |
void |
initXClass(XClass cls) |
boolean |
isRational(GraphState gs) |
boolean |
isReverse() |
boolean |
isStartingAtCenter() |
void |
setIntermediateArcs(float value) |
void |
setPlane(int value) |
void |
setReverse(boolean value) |
void |
setStartingAtCenter(boolean value) |
writeStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDimensionwriteStampgetManageableTypepublic static final Circular.Type $TYPE
public static final SCOType.Field intermediateArcs$FIELD
public static final SCOType.Field plane$FIELD
public static final SCOType.Field reverse$FIELD
public static final SCOType.Field startingAtCenter$FIELD
protected abstract float[] calculateCache(GraphState gs)
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextprotected abstract int getArcCount()
public int getDegree(GraphState gs)
getDegree in interface BSplineCurvepublic float getIntermediateArcs()
public float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic int getPlane()
public int getSize(GraphState gs)
getSize in interface VertexListpublic int getVertex(float[] out,
int index,
GraphState gs)
public final void initXClass(XClass cls)
initXClass in interface XObjectpublic boolean isRational(GraphState gs)
isRational in interface VertexSetpublic boolean isReverse()
public boolean isStartingAtCenter()
public void setIntermediateArcs(float value)
public void setPlane(int value)
public void setReverse(boolean value)
public void setStartingAtCenter(boolean value)