objects
Class Tube

java.lang.Object
  extended by objects.Object
      extended by objects.Intersection
          extended by objects.Tube
All Implemented Interfaces:
IObject

public class Tube
extends Intersection

a tube as intersection of a unit tube and two halfspaces


Field Summary
 
Fields inherited from class objects.Object
trans
 
Constructor Summary
Tube(double length_, double radius_)
          constructor
 
Method Summary
 IObject getCopy()
           
 
Methods inherited from class objects.Intersection
addObject, assignMap, assignMaterial, calcIntersection, calculateTextureCoordinates, isInside, normal, q, transform
 
Methods inherited from class objects.Object
getArea, getMap, getMaterial, getTransformationMatrix, move, rotate, rotateAroundX, rotateAroundY, rotateAroundZ, scale, scale, setTransformationMatrix, UniformRandomPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tube

public Tube(double length_,
            double radius_)
constructor

Parameters:
length_ -
radius_ -
Method Detail

getCopy

public IObject getCopy()
Specified by:
getCopy in interface IObject
Overrides:
getCopy in class Intersection
Returns:
the area of the object