de.grogra.math
Class Arc
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.Circular
de.grogra.math.Arc
- All Implemented Interfaces:
- ContextDependent, BSplineCurve, KnotVector, VertexList, VertexSet, Manageable, Shareable, XObject
public class Arc
- extends Circular
Nested Class Summary |
static class |
Arc.Type
|
Constructor Summary |
Arc()
|
Arc(float startAngle,
float endAngle,
float radius)
|
Methods inherited from class de.grogra.math.Circular |
dependsOnContext, getDegree, getIntermediateArcs, getKnot, getPlane, getSize, getVertex, getXClass, getXData, initXClass, isRational, isReverse, isStartingAtCenter, setIntermediateArcs, setPlane, setReverse, setStartingAtCenter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final Arc.Type $TYPE
endAngle$FIELD
public static final SCOType.Field endAngle$FIELD
radius$FIELD
public static final SCOType.Field radius$FIELD
startAngle$FIELD
public static final SCOType.Field startAngle$FIELD
Arc
public Arc()
Arc
public Arc(float startAngle,
float endAngle,
float radius)
calculateCache
protected float[] calculateCache(GraphState gs)
- Specified by:
calculateCache
in class Circular
getArcCount
protected int getArcCount()
- Specified by:
getArcCount
in class Circular
getDimension
public int getDimension(GraphState gs)
getEndAngle
public float getEndAngle()
getManageableType
public ManageableType getManageableType()
getRadius
public float getRadius()
getStartAngle
public float getStartAngle()
setEndAngle
public void setEndAngle(float value)
setRadius
public void setRadius(float value)
setStartAngle
public void setStartAngle(float value)