java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.RuledSurface
- All Implemented Interfaces:
ContextDependent
,BSplineCurveList
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuledSurface.Type
static final SCOType.Field
static final SCOType.Field
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Determines whether this object actually depends on context.int
getDegree
(int curve, GraphState gs) int
getDimension
(int curve, GraphState gs) float
getKnot
(int curve, int index, GraphState gs) int
getSize
(int curve, GraphState gs) int
getSize
(GraphState gs) int
getVertex
(float[] out, int curve, int index, GraphState gs) boolean
isRational
(int curve, GraphState gs) void
setFirstProfile
(BSplineCurve value) void
setSecondProfile
(BSplineCurve value) void
writeStamp
(Cache.Entry cache, GraphState gs) Writes a stamp of the context intocache
.Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
firstProfile$FIELD
-
secondProfile$FIELD
-
-
Constructor Details
-
RuledSurface
public RuledSurface()
-
-
Method Details
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
getFirstProfile
-
setFirstProfile
-
getSecondProfile
-
setSecondProfile
-
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
-
writeStamp
Description copied from interface:ContextDependent
Writes a stamp of the context intocache
. Based on this stamp, a cache detects whether the context of this object has changed or not.- Specified by:
writeStamp
in interfaceContextDependent
- Overrides:
writeStamp
in classContextDependentBase
- Parameters:
cache
- a cache entry to write the stampgs
- the current graph state
-
getSize
- Specified by:
getSize
in interfaceBSplineCurveList
-
getVertex
- Specified by:
getVertex
in interfaceBSplineCurveList
-
getKnot
- Specified by:
getKnot
in interfaceBSplineCurveList
-
getSize
- Specified by:
getSize
in interfaceBSplineCurveList
-
getDimension
- Specified by:
getDimension
in interfaceBSplineCurveList
-
getDegree
- Specified by:
getDegree
in interfaceBSplineCurveList
-
isRational
- Specified by:
isRational
in interfaceBSplineCurveList
-
areCurvesCompatible
- Specified by:
areCurvesCompatible
in interfaceBSplineCurveList
-