de.grogra.math
Class Circular
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.Circular
- All Implemented Interfaces:
- ContextDependent, BSplineCurve, KnotVector, VertexList, VertexSet, Manageable, Shareable, XObject
- Direct Known Subclasses:
- Arc, Circle, Ellipse, Helix
public abstract class Circular
- extends ContextDependentBase
- implements BSplineCurve, XObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final Circular.Type $TYPE
intermediateArcs$FIELD
public static final SCOType.Field intermediateArcs$FIELD
plane$FIELD
public static final SCOType.Field plane$FIELD
reverse$FIELD
public static final SCOType.Field reverse$FIELD
startingAtCenter$FIELD
public static final SCOType.Field startingAtCenter$FIELD
Circular
public Circular()
calculateCache
protected abstract float[] calculateCache(GraphState gs)
dependsOnContext
public boolean dependsOnContext()
- Description copied from interface:
ContextDependent
- Determines whether this object actually depends on context.
- Specified by:
dependsOnContext
in interface ContextDependent
- Returns:
true
iff this object depends on context
getArcCount
protected abstract int getArcCount()
getDegree
public int getDegree(GraphState gs)
- Specified by:
getDegree
in interface BSplineCurve
getIntermediateArcs
public float getIntermediateArcs()
getKnot
public float getKnot(int dim,
int index,
GraphState gs)
- Specified by:
getKnot
in interface KnotVector
getPlane
public int getPlane()
getSize
public int getSize(GraphState gs)
- Specified by:
getSize
in interface VertexList
getVertex
public int getVertex(float[] out,
int index,
GraphState gs)
- Specified by:
getVertex
in interface VertexSet
getXClass
public final XClass getXClass()
- Specified by:
getXClass
in interface XObject
getXData
public final XData getXData()
- Specified by:
getXData
in interface XObject
initXClass
public final void initXClass(XClass cls)
- Specified by:
initXClass
in interface XObject
isRational
public boolean isRational(GraphState gs)
- Specified by:
isRational
in interface VertexSet
isReverse
public boolean isReverse()
isStartingAtCenter
public boolean isStartingAtCenter()
setIntermediateArcs
public void setIntermediateArcs(float value)
setPlane
public void setPlane(int value)
setReverse
public void setReverse(boolean value)
setStartingAtCenter
public void setStartingAtCenter(boolean value)