|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgraphics.raytracers.tracer.primatives.Primitive
graphics.raytracers.tracer.primatives.Sphere
public class Sphere
| Field Summary |
|---|
| Fields inherited from class graphics.raytracers.tracer.primatives.Primitive |
|---|
surf |
| Constructor Summary | |
|---|---|
Sphere(Vector3d center,
double radius)
|
|
| Method Summary | |
|---|---|
Isect |
intersect(Ray3d ry)
|
Vector3d |
normal(Vector3d p)
|
java.lang.String |
toString()
|
| Methods inherited from class graphics.raytracers.tracer.primatives.Primitive |
|---|
setColor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Sphere(Vector3d center,
double radius)
| Method Detail |
|---|
public Isect intersect(Ray3d ry)
intersect in class Primitivepublic Vector3d normal(Vector3d p)
normal in class Primitivepublic java.lang.String toString()
toString in class Primitive
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||