|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jreality.tutorial.gui.SliderExample.HelicoidCatenoid
public static class SliderExample.HelicoidCatenoid
This class implements the associated family of the Helicoid and Catenoid x = cos alpha sinh v sin u + sin alpha cosh v cos u y = -cos alpha sinh v cos u + sin alpha cosh v sin u z = u cos alpha + v sin alpha u \in [-Pi,Pi[ v \in \R alpha = 0 helicoid alpha = Pi/2 catenoid
Constructor Summary | |
---|---|
SliderExample.HelicoidCatenoid()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SliderExample.HelicoidCatenoid()
Method Detail |
---|
public double getAlpha()
public void setAlpha(double alpha)
public void evaluate(double u, double v, double[] xyz, int index)
ParametricSurfaceFactory.Immersion
evaluate
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.Immersion
u
- 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.Immersion
getDimensionOfAmbientSpace
in interface ParametricSurfaceFactory.Immersion
public boolean isImmutable()
ParametricSurfaceFactory.Immersion
update
method is called;
immutable immersions are only recalculated when the parameter domain changes.
isImmutable
in interface ParametricSurfaceFactory.Immersion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |