Class Entity106_13_3DVectorString


  • public class Entity106_13_3DVectorString
    extends Entity106_CopiousData
    COPIOUS DATA ENTITY - LINEAR STRING WITH VECTORS - This entity defines an ordered set of 3D coordinate points with associated 3D vectors. Form 13 indicates that all the points are 3D, ordered, and have associated 3D vectors.

    This entity, when read from an IGES file, is converted to a list of vectors (GeomList<GeomVector>). Each vector has the origin set to the appropriate point.

    Modified by: Joseph A. Huwaldt

    Version:
    February 22, 2025
    Author:
    Joseph A. Huwaldt, Date: March 14, 2013
    See Also:
    Entity106_CopiousData
    • Constructor Detail

      • Entity106_13_3DVectorString

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

        public Entity106_13_3DVectorString​(Part part,
                                           int DEnum,
                                           GeomList geom)
        Create this entity from the specified GeomSS geometry element.
        Parameters:
        part - The Part in which this entity is contained.
        DEnum - The line count from the start of the Directory Entry Section for this entry (odd number).
        geom - The GeomSS list of GeomVector geometry to return an Entity for.
    • Method Detail

      • canWrite

        public boolean canWrite()
        Returns true if the Entity can be written to an exchange file.
        Overrides:
        canWrite in class Entity
        Returns:
        true
      • write

        public int write​(java.io.PrintWriter writer,
                         int PDnum)
                  throws java.io.IOException
        Write this entities parameter data to the specified PrintWriter.
        Overrides:
        write in class Entity
        Parameters:
        writer - The PrintWriter to write the parameter data for this entity to.
        PDnum - The starting Parameter Data row index number.
        Returns:
        The Parameter Data row index number for the next row.
        Throws:
        java.io.IOException - if the parameter data could not be written out.
      • 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.