net.java.dev.joode.geom
Class TriMesh.TrianglePlanes

java.lang.Object
  extended by net.java.dev.joode.geom.TriMesh.TrianglePlanes
Enclosing class:
TriMesh

public static class TriMesh.TrianglePlanes
extends java.lang.Object

Represents several planes associated with a some triangle.


Field Summary
 Vector4f edgePlane1
          Faces inward along triangle's first edge.
 Vector4f edgePlane2
          Faces inward along triangle's second edge.
 Vector4f edgePlane3
          Faces inward along triangle's third edge.
 Vector4f facePlane
          The directed plane in which the triangle lies and faces.
 
Constructor Summary
TriMesh.TrianglePlanes()
           
 
Method Summary
 void setPlanes(Point3f[] vertices)
          Sets the face and edge planes for a triangle with specified coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

facePlane

public Vector4f facePlane
The directed plane in which the triangle lies and faces.


edgePlane1

public Vector4f edgePlane1
Faces inward along triangle's first edge.


edgePlane2

public Vector4f edgePlane2
Faces inward along triangle's second edge.


edgePlane3

public Vector4f edgePlane3
Faces inward along triangle's third edge.

Constructor Detail

TriMesh.TrianglePlanes

public TriMesh.TrianglePlanes()
Method Detail

setPlanes

public void setPlanes(Point3f[] vertices)
Sets the face and edge planes for a triangle with specified coordinates.