Package geomss.geom.reader.iges
Class Entity128_BSplineSurface
- java.lang.Object
-
- geomss.geom.reader.iges.Entity
-
- geomss.geom.reader.iges.GeomSSEntity
-
- geomss.geom.reader.iges.Entity128_BSplineSurface
-
public class Entity128_BSplineSurface extends GeomSSEntity
RATIONAL B-SPLINE SURFACE ENTITY - This entity represents a Rational B-Spline Surface. This represents a parametric equation obtained by dividing two summations involving weights (which are real numbers), the control points, and B-Spline basis functions.
This entity, when read from an IGES file, is converted to a NURBS surface. This entity type can be written out to an IGES file. When reading in this entity, all IGES parameters are stored in the user data with the prefix "IGES_128_" followed by the parameter name.
Modified by: Joseph A. Huwaldt
- Version:
- February 22, 2025
- Author:
- Joseph A. Huwaldt, Date: August 23, 2010
-
-
Constructor Summary
Constructors Constructor Description Entity128_BSplineSurface(Part part, int DEnum, NurbsSurface geom)
Create this entity from the specified GeomSS geometry element.Entity128_BSplineSurface(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 entities 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
-
Entity128_BSplineSurface
public Entity128_BSplineSurface(Part p, DirEntry de)
Default constructor.- Parameters:
p
- part to which this entity is containedde
- Directory Entry for this entity
-
Entity128_BSplineSurface
public Entity128_BSplineSurface(Part part, int DEnum, NurbsSurface 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 geometry to return an Entity for.
-
-
Method Detail
-
check
public void check()
Checks to see if the entity is correct. The following restrictions are imposed: - The Label Display Pointer shall be 0
-
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 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.
-
-