Documentation of 'jvx.surface.PgDomain' Java class
PgDomain ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.surface

Class PgDomain

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf, PgGeometryIf


    public class PgDomain
    extends PgElementSet
    Two-dimensional domain controlled by a domain descriptor. Applications of this class are in the context of parameterized surfaces or graphs of functions.

    Since JavaView 4.01.015 more than one domain descriptor allowed. Original programming interface with a single descriptor remains compatible.

    See Also:
    PgDomainDescr, Serialized Form
    Author:
    Konrad Polthier
    Version:
    21.04.13, 3.00 revised (kp) More than one domain descriptor allowed.
    17.01.04, 2.00 revised (kp) Clone, copy implemented, updateListerIf used.
    27.08.99, 1.00 created (kp)
    • Field Detail

      • DOMAIN_RECTANGULAR

        public static final int DOMAIN_RECTANGULAR
        Type of domain, rectangular (default) or polar.
        See Also:
        Constant Field Values
      • DOMAIN_POLAR

        public static final int DOMAIN_POLAR
        Type of domain, rectangular or polar.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PgDomain

        public PgDomain()
        Constructor of a planar rectangle in 2-dimensional Euclidean space.
      • PgDomain

        public PgDomain(int dim)
        Constructor of a planar rectangle in dim-dimensional Euclidean space.

        Only the x and y vertex components are assign even if dim is larger than 2, that means the domain lies in the xy-plane. If dim is larger than 2 then the resulting surface will have vertex dimension dim.

    • Method Detail

      • init

        public void init()
        Description copied from class: PgElementSet
        Initialize and reset instance variables after call to super.init().
        Overrides:
        init in class PgElementSet
      • clone

        public java.lang.Object clone()
        Duplicate geometry by recursively cloning all instance variables except inspector panels and lists of registered listeners. The parent relationship is maintained only within this class but not to external classes.
        Specified by:
        clone in interface PgGeometryIf
        Overrides:
        clone in class PgElementSet
        See Also:
        copy(PsObject)
        Version:
        16.01.04, 1.00 created (kp)
      • toString

        public java.lang.String toString()
        Create a multi-line string representation with detailed information about all instance variables.
        Specified by:
        toString in interface PgGeometryIf
        Overrides:
        toString in class PgElementSet
      • computeSurface

        public void computeSurface()
        Deprecated. since JavaView 3.50.003, use compute().
        Compute the coordinates and connectivity of this planar rectangle. The discretization and size of the rectangle is determined by the domain descriptor of this domain.
      • compute

        public void compute()
        Compute the coordinates and connectivity of this planar rectangle. The discretization and size of the rectangle is determined by the domain descriptor of this domain.
      • getDomainType

        public int getDomainType()
        Get domain type.
      • setDomainType

        public void setDomainType(int type)
        Set domain type.

        Note, when a new domain type is selected where no descriptor exists yet, then the current descriptor is clone for this type. This assures that the configuration panel receives the same settings previously displayed for the current domain type.

      • getDescr

        public PgDomainDescr getDescr()
        Get the domain descriptor of this domain.
      • setDescr

        public boolean setDescr(PgDomainDescr aDescr)
        Set the domain descriptor of this domain which determines the discretization and size of this planar domain rectangle. This domain registers itself as updateListener of the descriptor.
      • getDescr

        public PgDomainDescr getDescr(int type)
        Get the domain descriptor of this domain.
      • setDescr

        public boolean setDescr(PgDomainDescr aDescr,
                                int type)
        Set the domain descriptor of this domain which determines the discretization and size of this planar domain rectangle. This domain registers itself as updateListener of the descriptor.
"JavaView? v5.03.003"

"

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

You see the box below because you did not login.