raja.shape
Class CompositeForm

java.lang.Object
  |
  +--raja.shape.CompositeForm
All Implemented Interfaces:
Serializable, Shape3D, TexturedForm, Writable
Direct Known Subclasses:
Intersection, Union

public abstract class CompositeForm
extends Object
implements TexturedForm, Serializable, Writable

See Also:
Serialized Form

Constructor Summary
CompositeForm()
           
CompositeForm(List texturedForms)
           
 
Method Summary
 void addForm(TexturedForm f)
           
abstract  boolean contains(Point3D p)
           
protected  Iterator formIterator()
           
abstract  TexturedLocalGeometry intersection(Ray r)
           
 boolean intersects(LightRay r)
           
abstract  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

CompositeForm

public CompositeForm()

CompositeForm

public CompositeForm(List texturedForms)
Method Detail

addForm

public void addForm(TexturedForm f)

formIterator

protected Iterator formIterator()

intersection

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

contains

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

strictlyContains

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

intersects

public boolean intersects(LightRay r)
Specified by:
intersects 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