Documentation of 'org.jzy3d.plot3d.primitives.Disk' Java class
Disk
org.jzy3d.plot3d.primitives

Class Disk

    • Constructor Detail

      • Disk

        public Disk()
        Initialize a Cylinder at the origin.
      • Disk

        public Disk(Coord3d position,
                    float radiusInner,
                    float radiusOuter,
                    int slices,
                    int loops,
                    Color color)
        Initialize a cylinder with the given parameters.
    • Method Detail

      • draw

        public void draw(com.jogamp.opengl.GL gl,
                         com.jogamp.opengl.glu.GLU glu,
                         Camera cam)
        Description copied from class: AbstractDrawable
        Call OpenGL2 routines for rendering the object.
        Specified by:
        draw in interface IGLRenderer
        Specified by:
        draw in class AbstractDrawable
        Parameters:
        gl - GL2 context
        glu - GLU context
        cam - a reference to a shooting Camera.
      • setData

        public void setData(Coord3d position,
                            float radiusInner,
                            float radiusOuter,
                            int slices,
                            int loops)
      • setPosition

        public void setPosition(Coord3d position)
      • setVolume

        public void setVolume(float radiusInner,
                              float radiusOuter)
      • setSlicing

        public void setSlicing(int verticalWires,
                               int horizontalWires)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.