unlekker.data
Class STLFace
java.lang.Object
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. |
|
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 |
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.
STLFace
public STLFace()
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