vgp.minimal.weier

## Class PgWeierstrassDescr

- java.lang.Object
- - jv.object.PsObject
  - - vgp.minimal.weier.PgWeierstrassDescr

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf
  Direct Known Subclasses:
    PgWeierstrass_Bidenoid, PgWeierstrass_Cameloid, PgWeierstrass_CatEnn, PgWeierstrass_CatEnn2Ends, PgWeierstrass_CatEnn2Twist, PgWeierstrass_CatEnnK, PgWeierstrass_Catenoid, PgWeierstrass_CatKExp, PgWeierstrass_CatSplit, PgWeierstrass_Chen, PgWeierstrass_ChenGackstatter, PgWeierstrass_Costa, PgWeierstrass_Costa2, PgWeierstrass_Enn4_5, PgWeierstrass_Enneper, PgWeierstrass_KNoid, PgWeierstrass_KNoid2, PgWeierstrass_PlanarEnd, PgWeierstrass_Scherk, PgWeierstrass_ScherkDoubly, PgWeierstrass_SchwarzD, PgWeierstrass_SchwarzD2, PgWeierstrass_SchwarzP, PgWeierstrass_SchwarzP2

      public abstract class PgWeierstrassDescr
      extends PsObject

  Abstract descriptor class for Weierstrass integrated minimal surfaces.
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `m_numUserReflections` Number of reflections added interactively by the user.
    `static int` | `REFLECT_LINE` Reflect real part of a patch at the straight line through a boundary polygon, reflect the imaginary part at the plane passing through the corresponding boundary polygon.
    `static int` | `REFLECT_PLANE` Reflect real part of a patch at the plane passing through a boundary polygon, reflect the imaginary part at the straight line through the corresponding boundary polygon.

    - ### Fields inherited from class jv.object.PsObject

      `HAS_BOUNDARY_PANEL, HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PgWeierstrassDescr(int numIntegratedPatches)` This constructor will set the number of domain discretization sliders to the default value 2.
    `PgWeierstrassDescr(int numIntegratedPatches, int numDiscrSliders)` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addParameter(PsObject parm)` Add a parameter of the surface to parameter list.
    `void` | `connectPart(int partNr1, int bndNr1, int partNr2, int bndNr2)` Appoint boundaries of parts to be glued together.
    `boolean` | `connectReflection(int partNr)` Appoint, if a reflection shall be glued to it's original.
    `boolean` | `connectReflection(PiVector partPath, int partNr)` Appoint, if a reflection shall be glued to it's original.
    `boolean` | `equals(PiVector partPath, int i)` Compare a PiVector with one int; return true, if the PiVector has size 1 and the only entry is equal to the int argument.
    `boolean` | `equals(PiVector partPath, int[] path)` Compare a PiVector with an int array; return true, if PiVector and array have the same size and the entries are equal for each index.
    `boolean` | `equals(PiVector partPath, int i, int j)` Compare a PiVector with two ints; return true, if the PiVector has size 2 and the entries are equal to the two int arguments, respectively.
    `abstract PuComplex` | `f(PuComplex z)` Compute the Weierstrass function f.
    `PuComplex[]` | `fun(PuComplex z)` Compute Weierstrass integrand from the Weierstrass functions f and g.
    `abstract PuComplex` | `g(PuComplex z)` Compute the Weierstrass function g.
    `void` | `getBndReflectType(PiVector partPath, int partNr, PiVector bndReflectType)` Set reflectType == REFLECT_PLANE to reflect Re on plane and rotate Im on line or reflectType == REFLECT_LINE to rotate Re on line and reflect Im on plane.
    `void` | `getConnections()` Connect parts of the surface.
    `void` | `getConnections(PiVector partPath)` Connect parts of a part of the surface.
    `PiVector[][]` | `getConnections(PiVector partPath, PiVector[][] cc, int numParts)` Return Vector of part connections.
    `int` | `getDimOfElements()` Return dimension of elements.
    `PuComplex[]` | `getFStart(int partNr)` Return complex as starting value for integration.
    `PuComplex[]` | `getFStart(PiVector partPath, int partNr)` Return complex as starting value for integration.
    `int` | `getMarkedBndNr()` Return number of marked boundary polygon.
    `int` | `getNumIntegratedPatches()` Get number of patches, that are integrated from Weierstrass data.
    `int` | `getNumParts()` Return number of parts of the surface.
    `int` | `getNumParts(PiVector partPath)` Return number of parts of the surface.
    `int` | `getNumULines(int partNr)` Get number of lines in domain's u direction.
    `int` | `getNumVLines(int partNr)` Get number of lines in domain's v direction.
    `void` | `getReflections()` Return vector of part reflections.
    `void` | `getReflections(PiVector partPath)` Return vector of part reflections in a part.
    `PiVector[]` | `getReflections(PiVector partPath, int numParts)` Return vector with numbers of parts to be reflected.
    `int` | `getStartU(PiVector partPath, int partNr)` Return index of u-line to start integration with.
    `int` | `getStartV(PiVector partPath, int partNr)` Return index of v-line to start integration with.
    `double` | `getUMax(int patchIndex)` Get maximum u value for a patch domain.
    `double` | `getUMin(int patchIndex)` Get minimum u value for a patch domain.
    `double` | `getVMax(int patchIndex)` Get maximum v value for a patch domain.
    `double` | `getVMin(int patchIndex)` Get minimum v value for a patch domain.
    `void` | `init()` Initialization
    `boolean` | `isEnabledMarkBnd()` Check if the user is allowed to mark a PgBndPolygon for reflecting the surface.
    `void` | `newReflection()` Save a reflection, that was invoked by the user.
    `boolean` | `partIsSubdivided(PiVector partPath, int partNr)` Return, if a part of the surface must be composed from several parts itself.
    `void` | `reflectPart(int partNr1, int partNr0, int bndNr0)` Appoint a part of the surface to be reflection of an other part.
    `void` | `returnUserReflections()` Return vector of reflections invoked by the user.
    `void` | `setConnections(PiVector[][] a)` Appoint connections of parts of the surface.
    `void` | `setDomain(int patchIndex, double uMin, double uMax, double vMin, double vMax)` Set rectangular domain size for a patch domain.
    `void` | `setEnabledMarkBnd(boolean bMarkBnd)` Set if the user is allowed to mark a PgBndPolygon for reflecting the surface.
    `void` | `setMarkedBndNr(int nr)` Appoint number of marked boundary polygon.
    `void` | `setNumIntegratedPatches(int numIntegratedPatches)` Set number of patches, that will be integrated from Weierstrass data.
    `void` | `setPartBndNr(int nr)` Appoint index of boundary polygon to reflect part at.
    `void` | `setReflection(PiVector[] a)` Appoint reflections of parts.
    `void` | `setReflectPartNr(int nr)` Appoint index of part to be reflected by the user.
    `void` | `setUMax(int patchIndex, double value)` Set maximum u value for a patch domain.
    `void` | `setUMin(int patchIndex, double value)` Set minimum u value for a patch domain.
    `void` | `setVertDim(int aVertDim)` Set dimension of vertices.
    `void` | `setVMax(int patchIndex, double value)` Set maximum v value for a patch domain.
    `void` | `setVMin(int patchIndex, double value)` Set minimum v value for a patch domain.
    `PuComplex` | `transform(int patchIndex, PuComplex z)` Transformation of rectangular domain before computing Weierstrass functions f and g.
    `PuComplex` | `transform(PuComplex z)` Transformation of rectangular domain before computing Weierstrass functions f and g.
    `boolean` | `update(java.lang.Object event)` Update the class whenever a child has changed.

    - ### Methods inherited from class jv.object.PsObject

      `addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanels`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### REFLECT_PLANE

          public static final int REFLECT_PLANE

      Reflect real part of a patch at the plane passing through a boundary polygon, reflect the imaginary part at the straight line through the corresponding boundary polygon.
      See Also:
        Constant Field Values

    - #### REFLECT_LINE

          public static final int REFLECT_LINE

      Reflect real part of a patch at the straight line through a boundary polygon, reflect the imaginary part at the plane passing through the corresponding boundary polygon.
      See Also:
        Constant Field Values

    - #### m_numUserReflections

          public int m_numUserReflections

      Number of reflections added interactively by the user.

  - ### Constructor Detail

    - #### PgWeierstrassDescr

          public PgWeierstrassDescr(int numIntegratedPatches)

      This constructor will set the number of domain discretization sliders to the default value 2.

    - #### PgWeierstrassDescr

          public PgWeierstrassDescr(int numIntegratedPatches,
                            int numDiscrSliders)

      Constructor

  - ### Method Detail

    - #### init

          public void init()

      Initialization
      Overrides:
        `init` in class `PsObject`

    - #### update

          public boolean update(java.lang.Object event)

      Update the class whenever a child has changed. Method is usually invoked from the children.
      Specified by:
        `update` in interface `PsUpdateIf`
      Overrides:
        `update` in class `PsObject`
      Parameters:
        `event` - carries a lot of information
      Returns:
        true if event has been handled, otherwise false
      See Also:
        `PsObject.setParent(PsUpdateIf)`, `PsObject.getFather()`, `PsObject.addUpdateListener(PsUpdateIf)`

    - #### setNumIntegratedPatches

          public void setNumIntegratedPatches(int numIntegratedPatches)

      Set number of patches, that will be integrated from Weierstrass data. Exactly for these patches the domain size must be known.

    - #### getNumIntegratedPatches

          public int getNumIntegratedPatches()

      Get number of patches, that are integrated from Weierstrass data.

    - #### setDomain

          public void setDomain(int patchIndex,
                       double uMin,
                       double uMax,
                       double vMin,
                       double vMax)

      Set rectangular domain size for a patch domain.

    - #### getNumULines

          public int getNumULines(int partNr)

      Get number of lines in domain's u direction.

    - #### getNumVLines

          public int getNumVLines(int partNr)

      Get number of lines in domain's v direction.

    - #### setUMin

          public void setUMin(int patchIndex,
                     double value)

      Set minimum u value for a patch domain.

    - #### getUMin

          public double getUMin(int patchIndex)

      Get minimum u value for a patch domain.

    - #### setUMax

          public void setUMax(int patchIndex,
                     double value)

      Set maximum u value for a patch domain.

    - #### getUMax

          public double getUMax(int patchIndex)

      Get maximum u value for a patch domain.

    - #### setVMin

          public void setVMin(int patchIndex,
                     double value)

      Set minimum v value for a patch domain.

    - #### getVMin

          public double getVMin(int patchIndex)

      Get minimum v value for a patch domain.

    - #### setVMax

          public void setVMax(int patchIndex,
                     double value)

      Set maximum v value for a patch domain.

    - #### getVMax

          public double getVMax(int patchIndex)

      Get maximum v value for a patch domain.

    - #### addParameter

          public void addParameter(PsObject parm)

      Add a parameter of the surface to parameter list.

    - #### setVertDim

          public void setVertDim(int aVertDim)

      Set dimension of vertices.

    - #### fun

          public PuComplex[] fun(PuComplex z)

      Compute Weierstrass integrand from the Weierstrass functions f and g.

    - #### transform

          public PuComplex transform(PuComplex z)

      Transformation of rectangular domain before computing Weierstrass functions f and g.

    - #### transform

          public PuComplex transform(int patchIndex,
                            PuComplex z)

      Transformation of rectangular domain before computing Weierstrass functions f and g.

    - #### f

          public abstract PuComplex f(PuComplex z)

      Compute the Weierstrass function f.

    - #### g

          public abstract PuComplex g(PuComplex z)

      Compute the Weierstrass function g.

    - #### getNumParts

          public int getNumParts()

      Return number of parts of the surface.

    - #### getNumParts

          public int getNumParts(PiVector partPath)

      Return number of parts of the surface.

    - #### getDimOfElements

          public int getDimOfElements()

      Return dimension of elements.

    - #### partIsSubdivided

          public boolean partIsSubdivided(PiVector partPath,
                                 int partNr)

      Return, if a part of the surface must be composed from several parts itself.

    - #### getConnections

          public void getConnections()

      Connect parts of the surface.

    - #### setConnections

          public void setConnections(PiVector[][] a)

      Appoint connections of parts of the surface.

    - #### getConnections

          public void getConnections(PiVector partPath)

      Connect parts of a part of the surface.

    - #### getConnections

          public PiVector[][] getConnections(PiVector partPath,
                                    PiVector[][] cc,
                                    int numParts)

      Return Vector of part connections.

    - #### connectPart

          public void connectPart(int partNr1,
                         int bndNr1,
                         int partNr2,
                         int bndNr2)

      Appoint boundaries of parts to be glued together.

    - #### getReflections

          public PiVector[] getReflections(PiVector partPath,
                                  int numParts)

      Return vector with numbers of parts to be reflected.

    - #### returnUserReflections

          public void returnUserReflections()

      Return vector of reflections invoked by the user.

    - #### newReflection

          public void newReflection()

      Save a reflection, that was invoked by the user.

    - #### setReflection

          public void setReflection(PiVector[] a)

      Appoint reflections of parts.

    - #### getReflections

          public void getReflections(PiVector partPath)

      Return vector of part reflections in a part.

    - #### getReflections

          public void getReflections()

      Return vector of part reflections.

    - #### connectReflection

          public boolean connectReflection(int partNr)

      Appoint, if a reflection shall be glued to it's original.

    - #### connectReflection

          public boolean connectReflection(PiVector partPath,
                                  int partNr)

      Appoint, if a reflection shall be glued to it's original.

    - #### reflectPart

          public void reflectPart(int partNr1,
                         int partNr0,
                         int bndNr0)

      Appoint a part of the surface to be reflection of an other part.

    - #### getBndReflectType

          public void getBndReflectType(PiVector partPath,
                               int partNr,
                               PiVector bndReflectType)

      Set reflectType == REFLECT_PLANE to reflect Re on plane and rotate Im on line or reflectType == REFLECT_LINE to rotate Re on line and reflect Im on plane.

    - #### getStartU

          public int getStartU(PiVector partPath,
                      int partNr)

      Return index of u-line to start integration with.

    - #### getStartV

          public int getStartV(PiVector partPath,
                      int partNr)

      Return index of v-line to start integration with.

    - #### getFStart

          public PuComplex[] getFStart(int partNr)

      Return complex as starting value for integration.

    - #### getFStart

          public PuComplex[] getFStart(PiVector partPath,
                              int partNr)

      Return complex as starting value for integration.

    - #### getMarkedBndNr

          public int getMarkedBndNr()

      Return number of marked boundary polygon.

    - #### setMarkedBndNr

          public void setMarkedBndNr(int nr)

      Appoint number of marked boundary polygon.

    - #### setReflectPartNr

          public void setReflectPartNr(int nr)

      Appoint index of part to be reflected by the user.

    - #### setPartBndNr

          public void setPartBndNr(int nr)

      Appoint index of boundary polygon to reflect part at.

    - #### isEnabledMarkBnd

          public boolean isEnabledMarkBnd()

      Check if the user is allowed to mark a PgBndPolygon for reflecting the surface.

    - #### setEnabledMarkBnd

          public void setEnabledMarkBnd(boolean bMarkBnd)

      Set if the user is allowed to mark a PgBndPolygon for reflecting the surface.

    - #### equals

          public boolean equals(PiVector partPath,
                       int i)

      Compare a PiVector with one int; return true, if the PiVector has size 1 and the only entry is equal to the int argument.

    - #### equals

          public boolean equals(PiVector partPath,
                       int i,
                       int j)

      Compare a PiVector with two ints; return true, if the PiVector has size 2 and the entries are equal to the two int arguments, respectively.

    - #### equals

          public boolean equals(PiVector partPath,
                       int[] path)

      Compare a PiVector with an int array; return true, if PiVector and array have the same size and the entries are equal for each index.

"

The software JavaView? is copyright protected. All Rights Reserved.
"