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

Class PgSphere

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


    public class PgSphere
    extends PgElementSet
    A parametrized sphere over a two dimensional domain. Parameter domain can be adjusted with sliders.
    Since:
    JavaView v.3.50.001
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    09.03.15, 2.00 revised (kp) Moved to jvx.primitive from dev.primitive.
    25.07.04, 1.00 created (kp)
    • Constructor Detail

      • PgSphere

        public PgSphere()
    • 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:
        25.07.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
      • getDomainDescr

        public PgDomainDescr getDomainDescr()
        Get instance variable of domain descriptor of surface.
        Version:
        25.07.04, 1.00 created (kp)
      • setDomainDescr

        public void setDomainDescr(PgDomainDescr domainDescr)
        Set domain descriptor data which specifies the extension of the (u,v)-domain.
      • getRadius

        public double getRadius()
        Get radius of sphere.
        Version:
        25.07.04, 1.00 created (kp)
      • setRadius

        public void setRadius(double radius)
        Set radius of sphere.
        Version:
        25.07.04, 1.00 created (kp)
      • getBase

        public PdVector getBase()
        Get base of sphere.
        Version:
        25.07.04, 1.00 created (kp)
      • setBase

        public void setBase(PdVector base)
        Set base of sphere.
        Version:
        25.07.04, 1.00 created (kp)
      • compute

        public void compute()
        Recalculate surface vertices, connectivity and normal vectors.
      • makeVertexTextureFromUV

        public boolean makeVertexTextureFromUV()
        Create vertex texture of a parametrized surface from domain.
        Author:
        Konrad Polthier
        Version:
        25.07.04, 1.00 created (kp)
"JavaView? v5.03.003"

"

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

Ads help maintain this website.