de.jreality.geometry
Class ParametricSurfaceFactory.DefaultImmersion

java.lang.Object
  extended by de.jreality.geometry.ParametricSurfaceFactory.DefaultImmersion
All Implemented Interfaces:
ParametricSurfaceFactory.Immersion
Enclosing class:
ParametricSurfaceFactory

public abstract static class ParametricSurfaceFactory.DefaultImmersion
extends Object
implements ParametricSurfaceFactory.Immersion

An immersion in 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)
           
 int getDimensionOfAmbientSpace()
           
 boolean isImmutable()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametricSurfaceFactory.DefaultImmersion

public ParametricSurfaceFactory.DefaultImmersion()
Method Detail

isImmutable

public boolean isImmutable()
Specified by:
isImmutable in interface ParametricSurfaceFactory.Immersion

getDimensionOfAmbientSpace

public int getDimensionOfAmbientSpace()
Specified by:
getDimensionOfAmbientSpace in interface ParametricSurfaceFactory.Immersion

evaluate

public void evaluate(double u,
                     double v,
                     double[] xyz,
                     int index)
Specified by:
evaluate in interface ParametricSurfaceFactory.Immersion

evaluate

public abstract void evaluate(double u,
                              double v)
Assign the protected variables x, y, z here.

Parameters:
u -
v -