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

Class PgSurfaceOfRotation

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


    public class PgSurfaceOfRotation
    extends PgElementSet
    A surface of revolution is generated by rotation a polygonal meridian curve around the z-axis. The meridian is part of this object, and may be assigned from outside. Whenever the meridian changes then the surface of revolution is recomputed. Several parameters of a surface of revolution may be edited on the configuration panel.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    03.07.04, 2.00 revised (kp) Full revision, all meridian handling moved to PgSurfaceOfRotation.
    25.02.04, 1.00 created (kp)
    • Constructor Detail

      • PgSurfaceOfRotation

        public PgSurfaceOfRotation()
      • PgSurfaceOfRotation

        public PgSurfaceOfRotation(int 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:
        25.02.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
      • isShowingMeridian

        public boolean isShowingMeridian()
        Check visibility of meridian.
      • setShowingMeridian

        public void setShowingMeridian(boolean flag)
        Enable display of meridian.
      • isEnabledCloseTop

        public boolean isEnabledCloseTop()
        Check if top of surface is closed with a disk.
      • setEnabledCloseTop

        public void setEnabledCloseTop(boolean flag)
        Set enabled if top of surface is closed with a disk.
      • isEnabledCloseBottom

        public boolean isEnabledCloseBottom()
        Check if bottom of surface is closed with a disk.
      • setEnabledCloseBottom

        public void setEnabledCloseBottom(boolean flag)
        Set enabled if bottom of surface is closed with a disk.
      • getMeridian

        public PgPolygon getMeridian()
        Get generating meridian of the surface.
      • setMeridian

        public boolean setMeridian(PgPolygon meridian)
        Set meridian as polygon curve which is used to generate the surface.
      • compute

        public boolean compute()
        Calculate the surface vertices based on the generating meridian.
      • makeVertexTextureFromUV

        public boolean makeVertexTextureFromUV()
        Create vertex texture of surface.
        Author:
        Konrad Polthier
"JavaView? v5.03.003"

"

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

You see the box below because you did not login.