Class Entity404_Drawing


  • public class Entity404_Drawing
    extends Entity
    DRAWING ENTITY - This entity defines drawing space coordinate system. A View Entity may also be used in conjunction with this entity to position entities in the defined drawing space. The Drawing Entity specifies a drawing as a collection of annotation entities i.e., any entity with its Entity Use Flag set to 01) defined in drawing space, and views (i.e., projections of model space data in view space).

    Modified by: Joseph A. Huwaldt

    Version:
    September 13, 2016
    Author:
    JDN, Version 1.0
    • Constructor Detail

      • Entity404_Drawing

        public Entity404_Drawing​(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 should be drawn. The following restrictions are imposed: - Number of view pointers shall be 1 - Number of annotation entities shall be 0 - Number of associativity pointers shall be 0 - Number of property pointers shall be 0, 1, 2, or 3
        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
      • 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.