raja.shape
Class Union

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

public class Union
extends CompositeForm

See Also:
Serialized Form

Constructor Summary
Union()
           
Union(List texturedForms)
           
 
Method Summary
static Object build(ObjectReader reader)
           
 boolean contains(Point3D p)
           
 TexturedLocalGeometry intersection(Ray r)
           
 boolean intersects(LightRay r)
           
 boolean strictlyContains(Point3D p)
           
 
Methods inherited from class raja.shape.CompositeForm
addForm, formIterator, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Union

public Union()

Union

public Union(List texturedForms)
Method Detail

build

public static Object build(ObjectReader reader)
                    throws IOException

intersection

public TexturedLocalGeometry intersection(Ray r)
Overrides:
intersection in class CompositeForm

intersects

public boolean intersects(LightRay r)
Overrides:
intersects in class CompositeForm

contains

public boolean contains(Point3D p)
Overrides:
contains in class CompositeForm

strictlyContains

public boolean strictlyContains(Point3D p)
Overrides:
strictlyContains in class CompositeForm