public class Entity142_CurveOnSurface extends GeomSSEntity
This entity, when read from an IGES file, is converted to a SubrangeCurve curve. This entity type can be written out to an IGES file. When reading in this entity, the IGES parameters are stored in the user data with the prefix "IGES_142_" followed by the parameter name.
Modified by: Joseph A. Huwaldt
Constructor and Description |
---|
Entity142_CurveOnSurface(Part p,
DirEntry de)
Default constructor.
|
Entity142_CurveOnSurface(Part part,
int DEnum,
java.lang.String name,
int Sptr,
int Bptr,
int Cptr)
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 entity object's parameter data to the specified PrintWriter.
|
getGeomElement, isUsedInList
blankedStatus, getDENum, getErrors, getHeader, getMatrix, getPDNum, getType, getView, hierStatus, read_additional, subordStatus, useStatus
public Entity142_CurveOnSurface(Part p, DirEntry de)
p
- part to which this entity is containedde
- Directory Entry for this entitypublic Entity142_CurveOnSurface(Part part, int DEnum, java.lang.String name, int Sptr, int Bptr, int Cptr)
part
- The Part to which this entity is contained.DEnum
- The line count from the start of the Directory Entry Section for this
entry (odd number).name
- The name to assign to the IGES entity or nulL
for none.Sptr
- Pointer to the DE of the surface on which the curve lies.Bptr
- Pointer to the DE of the entity that contains the definition of the
curve Bcrv in the parametric space (u, v) of the surface SsrfCptr
- Pointer to the DE of the curve Ccrvpublic void check()
public void read(java.io.RandomAccessFile in) throws java.io.IOException
public boolean canWrite()
true
if the Entity can be written to an exchange file.public int write(java.io.PrintWriter writer, int PDnum) throws java.io.IOException
public java.lang.String getTypeString()
getTypeString
in class Entity