Class Entity118_RuledSurface

  • Direct Known Subclasses:
    Entity118_0_RuledSurface, Entity118_1_RuledSurface

    public abstract class Entity118_RuledSurface
    extends GeomSSEntity
    RULED SURFACE ENTITY - This entity represents a ruled or 2-curve linearly lofted surface. A ruled surface is formed by moving a line connecting points of equal relative arc length (Form 0) or equal relative parametric value (Form 1) on two parametric curves from a start point to a terminate point on the curves.

    This entity, when read from an IGES file, is converted to a LoftedSurface surface. 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_118_" followed by the parameter name.

    Modified by: Joseph A. Huwaldt

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

      • Entity118_RuledSurface

        public Entity118_RuledSurface​(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.