de.grogra.math
public class BezierSurface extends VertexGridImpl implements BSplineSurface
| Modifier and Type | Class and Description |
|---|---|
static class |
BezierSurface.Type |
| Modifier and Type | Field and Description |
|---|---|
static BezierSurface.Type |
$TYPE |
static SCOType.Field |
rational$FIELD |
uCount, uCount$FIELDdata, data$FIELD, dimension, dimension$FIELD| Constructor and Description |
|---|
BezierSurface() |
BezierSurface(float[] data,
int dimension,
int uCount) |
| Modifier and Type | Method and Description |
|---|---|
float |
getKnot(int dim,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
int |
getUDegree(GraphState gs) |
int |
getUSize(GraphState gs) |
int |
getVDegree(GraphState gs) |
int |
getVSize(GraphState gs) |
boolean |
isRational() |
boolean |
isRational(GraphState gs) |
void |
setRational(boolean value) |
getUCount, getVertexIndex, setUCountdependsOnContext, getData, getDimension, getDimension, getVertex, getVertexIndex, setData, setDimensionwriteStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVertexIndexgetDimension, getVertexdependsOnContext, writeStamppublic static final BezierSurface.Type $TYPE
public static final SCOType.Field rational$FIELD
public BezierSurface()
public BezierSurface(float[] data,
int dimension,
int uCount)
public float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic ManageableType getManageableType()
getManageableType in interface ManageablegetManageableType in class VertexGridImplpublic int getUDegree(GraphState gs)
getUDegree in interface BSplineSurfacepublic int getUSize(GraphState gs)
getUSize in interface VertexGridgetUSize in class VertexGridImplpublic int getVDegree(GraphState gs)
getVDegree in interface BSplineSurfacepublic int getVSize(GraphState gs)
getVSize in interface VertexGridgetVSize in class VertexGridImplpublic boolean isRational()
public boolean isRational(GraphState gs)
isRational in interface VertexSetisRational in class VertexSetBasepublic void setRational(boolean value)