Package geomss.geom.reader.iges
Class Entity106_11_2DLinearString
- java.lang.Object
-
- geomss.geom.reader.iges.Entity
-
- geomss.geom.reader.iges.GeomSSEntity
-
- geomss.geom.reader.iges.Entity106_CopiousData
-
- geomss.geom.reader.iges.Entity106_11_2DLinearString
-
public class Entity106_11_2DLinearString extends Entity106_CopiousData
COPIOUS DATA ENTITY - LINEAR STRING - This entity defines a series of linear segments along the consecutive points of the path which may be isolated or used as a component of a Subfigure Entity. The segments may cross, or be coincident with, each other. Paths may close; i.e., the first path point may be coincident with the last. Form 11 indicates that all segments share a constant depth (zt) value (are 2D).This entity, when read from an IGES file, is converted to a list of points (a PointString object). This entity type can be written out to an IGES file.
Modified by: Joseph A. Huwaldt
- Version:
- September 13, 2016
- Author:
- Joseph A. Huwladt, Date: March 10, 2013
- See Also:
Entity106_CopiousData
-
-
Constructor Summary
Constructors Constructor Description Entity106_11_2DLinearString(Part part, int DEnum, PointString geom)
Create this entity from the specified GeomSS geometry element.Entity106_11_2DLinearString(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_11_2DLinearString
public Entity106_11_2DLinearString(Part p, DirEntry de)
Default constructor.- Parameters:
p
- part to which this entity is containedde
- Directory Entry for this entity
-
Entity106_11_2DLinearString
public Entity106_11_2DLinearString(Part part, int DEnum, PointString 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 PointString 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.
-
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.
-
-