JavaView® v2.12

vgp.minimal.weier
Class PgWeierstrassDescr

java.lang.Object
  |
  +--jv.object.PsObject
        |
        +--jv.project.PgGeometry
              |
              +--vgp.minimal.weier.PgWeierstrassDescr
All Implemented Interfaces:
java.lang.Cloneable, PgGeometryIf, PsUpdateIf, java.io.Serializable
Direct Known Subclasses:
PgWeierstrass_Catenoid, PgWeierstrass_Chen, PgWeierstrass_Costa, PgWeierstrass_Costa2, PgWeierstrass_Enneper, PgWeierstrass_KNoid, PgWeierstrass_KNoid2, PgWeierstrass_Scherk

public abstract class PgWeierstrassDescr
extends PgGeometry

Abstract descriptor class for Weierstrass integrated minimal surfaces.

Version:
01.06.99, 1.00 created (ur)
Author:
Ulrich Reitebuch
See Also:
Serialized Form

Field Summary
 int m_numUserReflections
           
 
Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Fields inherited from interface jv.project.PgGeometryIf
AMBIENT_H2_HYPERBOLIC, AMBIENT_H3_HYPERBOLIC, AMBIENT_H4_HYPERBOLIC, AMBIENT_PROJECTIONS, AMBIENT_R1_EUCLIDEAN, AMBIENT_R2_EUCLIDEAN, AMBIENT_R3_EUCLIDEAN, AMBIENT_R4_EUCLIDEAN, AMBIENT_R5_EUCLIDEAN, AMBIENT_S1_SPHERE, AMBIENT_S2_SPHERE, AMBIENT_S3_SPHERE, AMBIENT_S4_SPHERE, AMBIENT_SPACES, INSPECTOR_CONTROL, INSPECTOR_CONTROL_EXT, INSPECTOR_MATERIAL, INSPECTOR_MATERIAL_EXT, INSPECTOR_TEXTURE, INSPECTOR_TEXTURE_EXT, LABEL_BASE, LABEL_CENTER, LABEL_HEAD, LABEL_MIDDLE, LABEL_TAIL, LABEL_TOP, METHOD_EXT, PROJ_KLEIN_BALL, PROJ_PARALLEL, PROJ_POINCARE_BALL, PROJ_STEREOGRAPHIC, PROJ_UPPER_HALFSPACE
 
Constructor Summary
PgWeierstrassDescr()
          Constructor
 
Method Summary
 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)
           
 boolean equals(PiVector partPath, int[] path)
           
 boolean equals(PiVector partPath, int i, int j)
           
abstract  PuComplex f(PiVector partPath, int partNr, PuComplex z)
          Compute the Weierstrass function f.
 PuComplex[] fun(PiVector partPath, int partNr, PuComplex z)
          Compute Weierstrass integrand from the Weierstrass functions f and g.
abstract  PuComplex g(PiVector partPath, int partNr, PuComplex z)
          Compute the Weierstrass function g.
 void getBndReflectType(PiVector partPath, int partNr, PiVector bndReflectType)
          set reflectType == 0 to reflect Re on plane and rotate Im on line or reflectType == 1 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()
          Retrun number of marked boundary polygon.
 java.lang.String getName()
          Return name of the surface.
 int getNumParts()
          Return number of parts of the surface.
 int getNumParts(PiVector partPath)
          Return number of parts of the surface.
abstract  int getNumULines(PiVector partPath, int partNr)
          Return number of u - lines in domain of a part.
abstract  int getNumVLines(PiVector partPath, int partNr)
          Return number of v - lines in domain of a part.
 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.
abstract  double getUMax(PiVector partPath, int partNr)
          Return upper bound of domain of a part in direction u.
abstract  double getUMin(PiVector partPath, int partNr)
          Return lower bound of domain of a part in direction u.
abstract  double getVMax(PiVector partPath, int partNr)
          Return upper bound of domain of a part in direction v.
abstract  double getVMin(PiVector partPath, int partNr)
          Return lower bound of domain of a part in direction v.
 void init()
          Initialisation
 boolean markBnd()
          Return, if the user is allowed to mark a PgBndPolygon for reflecting the surface.
 void newReflection()
          Save a reflection new 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, int reflectType)
          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 setMarkedBndNr(int Nr)
          Appoint number of marked boundary polygon.
 void setPartBndNr(int nr)
          Appoint number of boundary polygon to reflect part at.
 void setReflection(PiVector[] a)
          Appoint reflections of parts.
 void setReflectPartNr(int nr)
          Appoint number of part to be reflected by the user.
 void setReflectType(int type)
          Appoint reflection type of a boundary polygon: reflectType == 0 : Reflect Re on plane and rotate Im on line. reflectType == 1 : Rotate Re on line and reflect Im on plane.
 void setVertDim(int aVertDim)
          Set dimension of vertices.
 PuComplex transform(int partNr, PuComplex z)
          Transformation of rectangular domain before computing Weierstrass functions f and g.
 PuComplex transform(PiVector partPath, int partNr, 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.project.PgGeometry
addDisplay, addElement, addPolygon, addVertex, blend, clearTagElement, clearTagPolygon, clearTagVertex, clone, copy, fillMethodMenu, getAmbientBounds, getAmbientInvMatrix, getAmbientMatrix, getAmbientProjection, getAmbientSpace, getAuthorInfo, getAuthors, getBounds, getCenter, getCenterOfElement, getControlPanel, getDiameter, getDimOfSimplex, getDimOfVertices, getDisplays, getElement, getGeometryInfo, getJvx, getLabelAttribute, getMaterialPanel, getModelMatrix, getPolygon, getTextureImage, getTextureImageName, getTitle, getVersion, getVersionType, getVertex, hasAmbientMatrix, hasDisplay, hasModelMatrix, hasTagElement, hasTagPolygon, hasTagVertex, intersectionWithLine, isConfigurable, isShowingBndBox, isShowingCenter, isShowingTitle, isVisible, merge, paint, reflect, removeDisplay, removeElement, removePolygon, removeVertex, setAmbientMatrix, setAmbientProjection, setAmbientSpace, setAuthorInfo, setAuthors, setCenter, setDimOfSimplex, setElement, setGeometryInfo, setJvx, setLabelAttribute, setLabelAttribute, setModelMatrix, setPolygon, setState, setTagElement, setTagPolygon, setTagVertex, setTextureImage, setTextureImageName, setTitle, setVersion, setVersionType, setVertex, setVisible, showBndBox, showCenter, showTitle, toString
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, copy, getFather, getInfoPanel, getInspector, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, updatePanels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jv.project.PgGeometryIf
assureInspector, getInfoPanel, setName
 
Methods inherited from interface jv.object.PsUpdateIf
getFather, setParent
 

Field Detail

m_numUserReflections

public int m_numUserReflections
Constructor Detail

PgWeierstrassDescr

public PgWeierstrassDescr()
Constructor
Method Detail

init

public void init()
Initialisation
Overrides:
init in class PgGeometry

update

public boolean update(java.lang.Object event)
Update the class whenever a child has changed. Method is usually invoked from the children.
Overrides:
update in class PgGeometry
Following copied from interface: jv.object.PsUpdateIf
Parameters:
event - carries a lot of information
Returns:
true if event has been handled, otherwise false
See Also:
PsObject, PsUpdateIf.getFather(), PsUpdateIf.setParent(PsUpdateIf)

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(PiVector partPath,
                       int partNr,
                       PuComplex z)
Compute Weierstrass integrand from the Weierstrass functions f and g.

transform

public PuComplex transform(int partNr,
                           PuComplex z)
Transformation of rectangular domain before computing Weierstrass functions f and g.

transform

public PuComplex transform(PiVector partPath,
                           int partNr,
                           PuComplex z)
Transformation of rectangular domain before computing Weierstrass functions f and g.

f

public abstract PuComplex f(PiVector partPath,
                            int partNr,
                            PuComplex z)
Compute the Weierstrass function f.

g

public abstract PuComplex g(PiVector partPath,
                            int partNr,
                            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 new 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,
                        int reflectType)
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 == 0 to reflect Re on plane and rotate Im on line or reflectType == 1 to rotate Re on line and reflect Im on plane.

getNumULines

public abstract int getNumULines(PiVector partPath,
                                 int partNr)
Return number of u - lines in domain of a part.

getNumVLines

public abstract int getNumVLines(PiVector partPath,
                                 int partNr)
Return number of v - lines in domain of a part.

getUMin

public abstract double getUMin(PiVector partPath,
                               int partNr)
Return lower bound of domain of a part in direction u.

getUMax

public abstract double getUMax(PiVector partPath,
                               int partNr)
Return upper bound of domain of a part in direction u.

getVMin

public abstract double getVMin(PiVector partPath,
                               int partNr)
Return lower bound of domain of a part in direction v.

getVMax

public abstract double getVMax(PiVector partPath,
                               int partNr)
Return upper bound of domain of a part in direction v.

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.

getName

public java.lang.String getName()
Return name of the surface.
Overrides:
getName in class PsObject

getMarkedBndNr

public int getMarkedBndNr()
Retrun number of marked boundary polygon.

setMarkedBndNr

public void setMarkedBndNr(int Nr)
Appoint number of marked boundary polygon.

setReflectType

public void setReflectType(int type)
Appoint reflection type of a boundary polygon: reflectType == 0 : Reflect Re on plane and rotate Im on line. reflectType == 1 : Rotate Re on line and reflect Im on plane.

setReflectPartNr

public void setReflectPartNr(int nr)
Appoint number of part to be reflected by the user.

setPartBndNr

public void setPartBndNr(int nr)
Appoint number of boundary polygon to reflect part at.

markBnd

public boolean markBnd()
Return, if the user is allowed to mark a PgBndPolygon for reflecting the surface.

equals

public boolean equals(PiVector partPath,
                      int i)

equals

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

equals

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

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.