Package geomss.geom.reader.iges
Class Entity142_CurveOnSurface
- java.lang.Object
-
- geomss.geom.reader.iges.Entity
-
- geomss.geom.reader.iges.GeomSSEntity
-
- geomss.geom.reader.iges.Entity142_CurveOnSurface
-
public class Entity142_CurveOnSurface extends GeomSSEntity
CURVE ON A PARAMETRIC SURFACE ENTITY - This entity represents a curve associated with a surface and identifies the curve as lying on the surface.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
- Version:
- April 10, 2016
- Author:
- Joseph A. Huwaldt, Date: March 13, 2013
-
-
Constructor Summary
Constructors Constructor Description 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.Entity142_CurveOnSurface(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.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.-
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
-
Entity142_CurveOnSurface
public Entity142_CurveOnSurface(Part p, DirEntry de)
Default constructor.- Parameters:
p
- part to which this entity is containedde
- Directory Entry for this entity
-
Entity142_CurveOnSurface
public 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.- Parameters:
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 ornulL
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 Ccrv
-
-
Method Detail
-
check
public void check()
Checks to see if the entity is correct.
-
read
public void read(java.io.RandomAccessFile in) throws java.io.IOException
Read the Parameter Data from the String read in by the superclass.
-
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 entity object's 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.
-
-