raja.shape
Class BasicTexturedForm

java.lang.Object
  |
  +--raja.shape.BasicTexturedForm
All Implemented Interfaces:
Serializable, Shape3D, TexturedForm, Writable

public class BasicTexturedForm
extends Object
implements TexturedForm, Serializable, Writable

See Also:
Serialized Form

Constructor Summary
BasicTexturedForm(Form f, Texture texture)
           
BasicTexturedForm(Form f, Texture in, Texture out)
           
 
Method Summary
static Object build(ObjectReader reader)
           
 boolean contains(Point3D p)
           
 TexturedLocalGeometry intersection(Ray r)
           
 boolean intersects(LightRay r)
           
 boolean strictlyContains(Point3D p)
           
 String toString()
           
 void write(ObjectWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicTexturedForm

public BasicTexturedForm(Form f,
                         Texture in,
                         Texture out)

BasicTexturedForm

public BasicTexturedForm(Form f,
                         Texture texture)
Method Detail

build

public static Object build(ObjectReader reader)
                    throws IOException

intersection

public TexturedLocalGeometry intersection(Ray r)
Specified by:
intersection in interface TexturedForm

intersects

public boolean intersects(LightRay r)
Specified by:
intersects in interface Shape3D

contains

public boolean contains(Point3D p)
Specified by:
contains in interface Shape3D

strictlyContains

public boolean strictlyContains(Point3D p)
Specified by:
strictlyContains in interface Shape3D

toString

public String toString()
Overrides:
toString in class Object

write

public void write(ObjectWriter writer)
           throws IOException
Specified by:
write in interface Writable