Package geomss.geom.reader.iges
Class Entity124_TransformationMatrix
- java.lang.Object
-
- geomss.geom.reader.iges.Entity
-
- geomss.geom.reader.iges.Entity124_TransformationMatrix
-
public class Entity124_TransformationMatrix extends Entity
TRANSFORMATION MATRIX ENTITY - This allows translation and rotation to be applied to other entities. This is used to define alternate coordinate systems for definition and viewing. The transformation matrix entity transforms three-row column vectors by means of matrix multiplication and then a vector addition. This entity can be considered as an "operator" entity in that it starts with the input vector, operates on it as described above, and produces the output vector.This entity, when read from an IGES file, is converted to a GTransform object. This entity type can not be written out to an IGES file.
Modified by: Joseph A. Huwaldt
- Version:
- September 13, 2016
- Author:
- JDN, Version 1.0
-
-
Constructor Summary
Constructors Constructor Description Entity124_TransformationMatrix(Part p, DirEntry de)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check()
Checks to see if the entity is correct.GTransform
getMat()
Returns the internal matrix.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.-
Methods inherited from class geomss.geom.reader.iges.Entity
blankedStatus, canWrite, getDENum, getErrors, getHeader, getMatrix, getPDNum, getType, getView, hierStatus, read_additional, subordStatus, useStatus, write
-
-
-
-
Constructor Detail
-
Entity124_TransformationMatrix
public Entity124_TransformationMatrix(Part p, DirEntry de)
Default constructor. Needs to initialize the internal matrix representation.- Parameters:
p
- part to which this entity is containedde
- Directory Entry for this entity
-
-
Method Detail
-
check
public void check()
Checks to see if the entity is correct. The following restrictions are imposed: - The Transformation Matrix 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.
-
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.
-
toString
public java.lang.String toString()
Dump to String.
-
getMat
public GTransform getMat()
Returns the internal matrix.- Returns:
- GTransform set to the values of the transform matrix.
-
-