de.grogra.math
public class BSplineSurfaceImpl extends VertexGridImpl implements BSplineSurface
| Modifier and Type | Class and Description |
|---|---|
static class |
BSplineSurfaceImpl.Type |
| Modifier and Type | Field and Description |
|---|---|
static BSplineSurfaceImpl.Type |
$TYPE |
static SCOType.Field |
rational$FIELD |
static SCOType.Field |
uDegree$FIELD |
static SCOType.Field |
uPeriodic$FIELD |
static SCOType.Field |
vDegree$FIELD |
static SCOType.Field |
vPeriodic$FIELD |
uCount, uCount$FIELDdata, data$FIELD, dimension, dimension$FIELD| Constructor and Description |
|---|
BSplineSurfaceImpl() |
BSplineSurfaceImpl(float[] data,
int dimension,
int uCount,
int uDegree,
boolean uPeriodic,
int vDegree,
boolean vPeriodic) |
| Modifier and Type | Method and Description |
|---|---|
static BSplineSurfaceImpl |
create(float[] controlPoints,
int uCount,
int dimension,
int uDegree,
boolean uClamp,
boolean uPeriodic,
int vDegree,
boolean vClamp,
boolean vPeriodic) |
float |
getKnot(int dim,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
int |
getUDegree() |
int |
getUDegree(GraphState gs) |
int |
getUSize(GraphState gs) |
protected int |
getVCount() |
int |
getVDegree() |
int |
getVDegree(GraphState gs) |
int |
getVertexIndex(int u,
int v,
GraphState gs) |
int |
getVSize(GraphState gs) |
boolean |
isRational() |
boolean |
isRational(GraphState gs) |
boolean |
isUPeriodic() |
boolean |
isVPeriodic() |
void |
setRational(boolean value) |
void |
setUDegree(int value) |
void |
setUPeriodic(boolean value) |
void |
setVDegree(int value) |
void |
setVPeriodic(boolean value) |
getUCount, 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, waitgetDimension, getVertexdependsOnContext, writeStamppublic static final BSplineSurfaceImpl.Type $TYPE
public static final SCOType.Field rational$FIELD
public static final SCOType.Field uDegree$FIELD
public static final SCOType.Field uPeriodic$FIELD
public static final SCOType.Field vDegree$FIELD
public static final SCOType.Field vPeriodic$FIELD
public BSplineSurfaceImpl()
public BSplineSurfaceImpl(float[] data,
int dimension,
int uCount,
int uDegree,
boolean uPeriodic,
int vDegree,
boolean vPeriodic)
public static BSplineSurfaceImpl create(float[] controlPoints, int uCount, int dimension, int uDegree, boolean uClamp, boolean uPeriodic, int vDegree, boolean vClamp, boolean vPeriodic)
public float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic ManageableType getManageableType()
getManageableType in interface ManageablegetManageableType in class VertexGridImplpublic int getUDegree()
public int getUDegree(GraphState gs)
getUDegree in interface BSplineSurfacepublic int getUSize(GraphState gs)
getUSize in interface VertexGridgetUSize in class VertexGridImplprotected int getVCount()
public int getVDegree()
public int getVDegree(GraphState gs)
getVDegree in interface BSplineSurfacepublic int getVertexIndex(int u,
int v,
GraphState gs)
getVertexIndex in interface VertexGridgetVertexIndex in class VertexGridImplpublic 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 boolean isUPeriodic()
public boolean isVPeriodic()
public void setRational(boolean value)
public void setUDegree(int value)
public void setUPeriodic(boolean value)
public void setVDegree(int value)
public void setVPeriodic(boolean value)