java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.StraightLine
- All Implemented Interfaces:
ContextDependent
,BSplineCurve
,KnotVector
,VertexList
,VertexSet
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StraightLine.Type
static final SCOType.Field
static final SCOType.Field
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether this object actually depends on context.int
getDegree
(GraphState gs) int
float
getKnot
(int dim, int index, GraphState gs) float
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) Methods inherited from class de.grogra.graph.impl.ContextDependentBase
writeStamp
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.graph.ContextDependent
writeStamp
-
Field Details
-
$TYPE
-
length$FIELD
-
plane$FIELD
-
-
Constructor Details
-
StraightLine
public StraightLine(float length) -
StraightLine
public StraightLine()
-
-
Method Details
-
dependsOnContext
public boolean dependsOnContext()Description copied from interface:ContextDependent
Determines whether this object actually depends on context.- Specified by:
dependsOnContext
in interfaceContextDependent
- Returns:
true
iff this object depends on context
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-
getDegree
- Specified by:
getDegree
in interfaceBSplineCurve
-
getSize
- Specified by:
getSize
in interfaceVertexList
-
getKnot
- Specified by:
getKnot
in interfaceKnotVector
-
getVertex
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
getPlane
public int getPlane() -
setPlane
public void setPlane(int value) -
getLength
public float getLength() -
setLength
public void setLength(float value)
-