edu.ohiou.cs456_badabing.sceneapi.basic
Class Triangle

java.lang.Object
  extended by edu.ohiou.cs456_badabing.sceneapi.basic.Triangle

public class Triangle
extends java.lang.Object

Describes a triangle and associated values.

Description: Describes a triangle and associated values.

Copyright: Lev A Neiman 2008

Company: Ohio University EECS


Field Summary
 Coordinate a
          vertex a
 Coordinate a_normal
          smooth shaded normal for a
 Coordinate b
          vertex b
 Coordinate b_normal
          smooth shaded normal for b
 Coordinate c
          vertex c
 Coordinate c_normal
          smooth shaded nomral for c
 Material material
          Material reference.
 java.lang.String material_name
          Material name that applies to this Triangle
 Coordinate normal
          normal for (a-c)x(b-c)
(package private)  Coordinate ta
          texture coordinate for a
(package private)  Coordinate tb
          texture coordinate for b
(package private)  Coordinate tc
          texture coordinate for c
 
Constructor Summary
Triangle()
          Default constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public Coordinate a
vertex a


b

public Coordinate b
vertex b


c

public Coordinate c
vertex c


normal

public Coordinate normal
normal for (a-c)x(b-c)


a_normal

public Coordinate a_normal
smooth shaded normal for a


b_normal

public Coordinate b_normal
smooth shaded normal for b


c_normal

public Coordinate c_normal
smooth shaded nomral for c


material_name

public java.lang.String material_name
Material name that applies to this Triangle


material

public Material material
Material reference.


ta

Coordinate ta
texture coordinate for a


tb

Coordinate tb
texture coordinate for b


tc

Coordinate tc
texture coordinate for c

Constructor Detail

Triangle

public Triangle()
Default constructor.