|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jreality.geometry.ParametricSurfaceFactory.DefaultImmersion
public abstract static class ParametricSurfaceFactory.DefaultImmersion
An abstract implementation of the interface Immersion for
a map of two variables into 3-space. Override the abstract
method evaluate and assign the protected variables
x, y, and z there depending on
the given u, v values.
| Constructor Summary | |
|---|---|
ParametricSurfaceFactory.DefaultImmersion()
|
|
| Method Summary | |
|---|---|
abstract void |
evaluate(double u,
double v)
Assign the protected variables x, y, z here. |
void |
evaluate(double u,
double v,
double[] xyz,
int index)
The implementation of the formula. |
int |
getDimensionOfAmbientSpace()
The dimension of the target space. |
boolean |
isImmutable()
Mutable immersions are always recalculated when the update method is called;
immutable immersions are only recalculated when the parameter domain changes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParametricSurfaceFactory.DefaultImmersion()
| Method Detail |
|---|
public boolean isImmutable()
ParametricSurfaceFactory.Immersionupdate method is called;
immutable immersions are only recalculated when the parameter domain changes.
isImmutable in interface ParametricSurfaceFactory.Immersionpublic int getDimensionOfAmbientSpace()
ParametricSurfaceFactory.Immersion
getDimensionOfAmbientSpace in interface ParametricSurfaceFactory.Immersion
public void evaluate(double u,
double v,
double[] xyz,
int index)
ParametricSurfaceFactory.Immersionevaluate should read
xyz[3*index]=f1(u,v);
xyz[3*index+1]=f2(u,v);
...
xyz[3*index+n-1]=fn(u,v);
evaluate in interface ParametricSurfaceFactory.Immersionu - coordinate of the requested valuev - coordinate of the requested valuexyz - an array to put the result of the evaluation intoindex - at which to put the result into xyz.
public abstract void evaluate(double u,
double v)
u - v -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||