objects
Class Cone

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

public class Cone
extends Intersection


Field Summary
 
Fields inherited from class objects.Object
trans
 
Constructor Summary
Cone(double radius, double height)
          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

Cone

public Cone(double radius,
            double height)
constructor

Parameters:
radius - radius of the cone
height - height of the cone
Method Detail

getCopy

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