de.grogra.math
public abstract class Sweep extends ContextDependentBase implements BSplineCurveList
| Modifier and Type | Class and Description |
|---|---|
static class |
Sweep.Type |
| Modifier and Type | Field and Description |
|---|---|
static Sweep.Type |
$TYPE |
static SCOType.Field |
useRail$FIELD |
| Constructor and Description |
|---|
Sweep() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCurvesCompatible(GraphState gs) |
protected float |
calculateLocalX(Vector3f x,
Vector3f z,
Vector3f rail,
float railScale,
java.lang.Object[] cache,
GraphState gs) |
protected float[] |
computeTrajectory(java.lang.Object[] cache,
GraphState gs) |
protected java.lang.Object[] |
getCache(GraphState gs) |
protected java.lang.Object[] |
getCacheImpl(GraphState gs) |
int |
getDimension(int curve,
GraphState gs) |
int |
getSize(GraphState gs) |
protected abstract BSplineCurve |
getTrajectory(GraphState gs) |
int |
getVertex(float[] out,
int curve,
int index,
GraphState gs) |
protected abstract int |
getVertexImpl(float[] out,
int curve,
int index,
java.lang.Object[] cache,
GraphState gs) |
protected abstract java.lang.Object[] |
initCache(GraphState gs) |
protected float |
initLocalX(Vector3f x,
Vector3f z,
Vector3f rail,
float railScale,
java.lang.Object[] cache,
GraphState gs) |
boolean |
isRational(int curve,
GraphState gs) |
void |
setUseRail(boolean value) |
writeStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDegree, getKnot, getSizedependsOnContext, writeStampgetManageableTypepublic static final Sweep.Type $TYPE
public static final SCOType.Field useRail$FIELD
public boolean areCurvesCompatible(GraphState gs)
areCurvesCompatible in interface BSplineCurveListprotected float calculateLocalX(Vector3f x, Vector3f z, Vector3f rail, float railScale, java.lang.Object[] cache, GraphState gs)
protected float[] computeTrajectory(java.lang.Object[] cache,
GraphState gs)
protected java.lang.Object[] getCache(GraphState gs)
protected java.lang.Object[] getCacheImpl(GraphState gs)
public int getDimension(int curve,
GraphState gs)
getDimension in interface BSplineCurveListpublic int getSize(GraphState gs)
getSize in interface BSplineCurveListprotected abstract BSplineCurve getTrajectory(GraphState gs)
public int getVertex(float[] out,
int curve,
int index,
GraphState gs)
getVertex in interface BSplineCurveListprotected abstract int getVertexImpl(float[] out,
int curve,
int index,
java.lang.Object[] cache,
GraphState gs)
protected abstract java.lang.Object[] initCache(GraphState gs)
protected float initLocalX(Vector3f x, Vector3f z, Vector3f rail, float railScale, java.lang.Object[] cache, GraphState gs)
public boolean isRational(int curve,
GraphState gs)
isRational in interface BSplineCurveListpublic void setUseRail(boolean value)