unlekker.data
Class STLFace

java.lang.Object
  extended by unlekker.data.STLFace

public class STLFace
extends java.lang.Object

Polygon class to support STL geometry.


Field Summary
 float[] v
          Array containing the face normal and the three vertices making up this face.
 
Constructor Summary
STLFace()
           
 
Method Summary
 void scale(float tx, float ty, float tz)
           
 java.lang.String toString()
           
 void translate(float tx, float ty, float tz)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

v

public float[] v
Array containing the face normal and the three vertices making up this face. v[0..2] is the normal, v[3..5] is the first vertex etc.

Constructor Detail

STLFace

public STLFace()
Method Detail

translate

public void translate(float tx,
                      float ty,
                      float tz)

scale

public void scale(float tx,
                  float ty,
                  float tz)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object