Package geomss.geom.reader.iges
Class Entity106_13_3DVectorString
- java.lang.Object
-
- geomss.geom.reader.iges.Entity
-
- geomss.geom.reader.iges.GeomSSEntity
-
- geomss.geom.reader.iges.Entity106_CopiousData
-
- geomss.geom.reader.iges.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 Summary
Constructors Constructor Description Entity106_13_3DVectorString(Part part, int DEnum, GeomList geom)
Create this entity from the specified GeomSS geometry element.Entity106_13_3DVectorString(Part p, DirEntry de)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canWrite()
Returnstrue
if the Entity can be written to an exchange file.java.lang.String
getTypeString()
Returns a short String describing this Entity object's type.int
write(java.io.PrintWriter writer, int PDnum)
Write this entities parameter data to the specified PrintWriter.-
Methods inherited from class geomss.geom.reader.iges.Entity106_CopiousData
check, read, toString
-
Methods inherited from class geomss.geom.reader.iges.GeomSSEntity
getGeomElement, isUsedInList
-
Methods inherited from class geomss.geom.reader.iges.Entity
blankedStatus, getDENum, getErrors, getHeader, getMatrix, getPDNum, getType, getView, hierStatus, read_additional, subordStatus, useStatus
-
-
-
-
Constructor Detail
-
Entity106_13_3DVectorString
public Entity106_13_3DVectorString(Part p, DirEntry de)
Default constructor.- Parameters:
p
- part to which this entity is containedde
- 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()
Returnstrue
if the Entity can be written to an exchange file.
-
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 classEntity
- 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 classEntity
- Returns:
- A short String describing this Entity object's type.
-
-