de.grogra.math
public class BezierCurve extends VertexListImpl implements BSplineCurve
| Modifier and Type | Class and Description |
|---|---|
static class |
BezierCurve.Type |
| Modifier and Type | Field and Description |
|---|---|
static BezierCurve.Type |
$TYPE |
static SCOType.Field |
rational$FIELD |
data, data$FIELD, dimension, dimension$FIELD| Constructor and Description |
|---|
BezierCurve() |
BezierCurve(float[] data,
int dimension) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDegree(GraphState gs) |
float |
getKnot(int dim,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
int |
getSize(GraphState gs) |
boolean |
isRational() |
boolean |
isRational(GraphState gs) |
void |
setRational(boolean value) |
dependsOnContext, getData, getDimension, getDimension, getVertex, getVertexIndex, setData, setDimensionwriteStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDimension, getVertexdependsOnContext, writeStamppublic static final BezierCurve.Type $TYPE
public static final SCOType.Field rational$FIELD
public BezierCurve()
public BezierCurve(float[] data,
int dimension)
public int getDegree(GraphState gs)
getDegree in interface BSplineCurvepublic float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic ManageableType getManageableType()
getManageableType in interface ManageablegetManageableType in class VertexListImplpublic int getSize(GraphState gs)
getSize in interface VertexListgetSize in class VertexListImplpublic boolean isRational()
public boolean isRational(GraphState gs)
isRational in interface VertexSetisRational in class VertexSetBasepublic void setRational(boolean value)