public class Entity110_Line extends GeomSSEntity
This entity, when read from an IGES file, is converted to a LineSegment curve. This entity type can be written out to an IGES file.
Modified by: Joseph A. Huwaldt
Constructor and Description |
---|
Entity110_Line(Part p,
DirEntry de)
Default constructor.
|
Entity110_Line(Part part,
int DEnum,
LineSegment geom)
Create this entity from the specified GeomSS geometry element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canWrite()
Returns
true if the Entity can be written to an exchange file. |
void |
check()
Checks to see if the entity is correct.
|
java.lang.String |
getTypeString()
Returns a short String describing this Entity object's type.
|
void |
read(java.io.RandomAccessFile in)
Read the Parameter Data from the String read in by the superclass.
|
java.lang.String |
toString()
Dump to String.
|
int |
write(java.io.PrintWriter writer,
int PDnum)
Write this entities parameter data to the specified PrintWriter.
|
getGeomElement, isUsedInList
blankedStatus, getDENum, getErrors, getHeader, getMatrix, getPDNum, getType, getView, hierStatus, read_additional, subordStatus, useStatus
public Entity110_Line(Part p, DirEntry de)
p
- part to which this entity is containedde
- Directory Entry for this entitypublic Entity110_Line(Part part, int DEnum, LineSegment geom)
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 LineSegment geometry to return an Entity for.public boolean canWrite()
true
if the Entity can be written to an exchange file.public void check()
public void read(java.io.RandomAccessFile in) throws java.io.IOException
public int write(java.io.PrintWriter writer, int PDnum) throws java.io.IOException
public java.lang.String getTypeString()
getTypeString
in class Entity