de.grogra.math
public class StraightLine extends ContextDependentBase implements BSplineCurve
| Modifier and Type | Class and Description |
|---|---|
static class |
StraightLine.Type |
| Modifier and Type | Field and Description |
|---|---|
static StraightLine.Type |
$TYPE |
static SCOType.Field |
length$FIELD |
static SCOType.Field |
plane$FIELD |
| Constructor and Description |
|---|
StraightLine() |
StraightLine(float length) |
| 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) |
float |
getLength() |
ManageableType |
getManageableType() |
int |
getPlane() |
int |
getSize(GraphState gs) |
int |
getVertex(float[] out,
int index,
GraphState gs) |
boolean |
isRational(GraphState gs) |
void |
setLength(float value) |
void |
setPlane(int value) |
writeStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteStamppublic static final StraightLine.Type $TYPE
public static final SCOType.Field length$FIELD
public static final SCOType.Field plane$FIELD
public StraightLine()
public StraightLine(float length)
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 float getLength()
public ManageableType getManageableType()
getManageableType in interface Manageablepublic int getPlane()
public int getSize(GraphState gs)
getSize in interface VertexListpublic int getVertex(float[] out,
int index,
GraphState gs)
public boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setLength(float value)
public void setPlane(int value)