Class Entity120_SurfaceOfRevolution


  • public class Entity120_SurfaceOfRevolution
    extends GeomSSEntity
    SURFACE OF REVOLUTION ENTITY - This entity represents a surface of revolution. A surface of revolution is defined by an axis of rotation (which shall be a Line Entity), a generatrix, and start and terminate rotation angles. The surface is created by rotating the generatrix about the axis of rotation through the start and terminating angles.

    This entity, when read from an IGES file, is converted to a NURBS curve. This entity type can not be written out to an IGES file. The surface parameters are stored in the user data with the prefix "IGES_120_" followed by the parameter name.

    Modified by: Joseph A. Huwaldt

    Version:
    February 22, 2025
    Author:
    Joseph A. Huwaldt, Date: March 9, 2013
    • Constructor Detail

      • Entity120_SurfaceOfRevolution

        public Entity120_SurfaceOfRevolution​(Part p,
                                             DirEntry de)
        Default constructor.
        Parameters:
        p - part to which this entity is contained
        de - Directory Entry for this entity
    • Method Detail

      • check

        public void check()
        Checks to see if the entity is correct.
        Specified by:
        check in class Entity
      • read

        public void read​(java.io.RandomAccessFile in)
                  throws java.io.IOException
        Read the Parameter Data from the String read in by the superclass.
        Overrides:
        read in class Entity
        Parameters:
        in - input file
        Throws:
        java.io.IOException - if the parameter data could not be read in.
      • getTypeString

        public java.lang.String getTypeString()
        Returns a short String describing this Entity object's type.
        Specified by:
        getTypeString in class Entity
        Returns:
        A short String describing this Entity object's type.
      • toString

        public java.lang.String toString()
        Dump to String.
        Overrides:
        toString in class Entity
        Returns:
        String containing the resulting text.