public static class SliderExample.HelicoidCatenoid extends Object implements ParametricSurfaceFactory.Immersion
| Constructor and Description |
|---|
HelicoidCatenoid() |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(double u,
double v,
double[] xyz,
int index)
The implementation of the formula.
|
double |
getAlpha() |
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. |
void |
setAlpha(double alpha) |
public double getAlpha()
public void setAlpha(double alpha)
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 int getDimensionOfAmbientSpace()
ParametricSurfaceFactory.ImmersiongetDimensionOfAmbientSpace in interface ParametricSurfaceFactory.Immersionpublic boolean isImmutable()
ParametricSurfaceFactory.Immersionupdate method is called;
immutable immersions are only recalculated when the parameter domain changes.isImmutable in interface ParametricSurfaceFactory.Immersion