|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector | |
raytracer.internal | |
raytracer.objects |
Uses of Vector in raytracer.internal |
Methods in raytracer.internal that return Vector | |
Vector |
Point.sub(Point p)
Subtracts a point from a point |
Vector |
Vector.normalize()
Scales the vector such that the length equals one |
Vector |
Vector.scale(float t)
Scales the vector by the given factor |
Vector |
Vector.crossProduct(Vector v)
Calculates the vector cross product |
Vector |
Vector.invert()
Inverts a vector componentwise |
Vector |
Vector.reflect(Vector normal)
Reflects a vector at a plane with the given normal |
Methods in raytracer.internal with parameters of type Vector | |
Point |
Point.add(Vector v)
Adds a vector to a point |
float |
Vector.dotProduct(Vector v)
Calculates the vector dot product |
Vector |
Vector.crossProduct(Vector v)
Calculates the vector cross product |
Vector |
Vector.reflect(Vector normal)
Reflects a vector at a plane with the given normal |
Constructors in raytracer.internal with parameters of type Vector | |
Ray(Point p,
Vector v)
Creates a ray |
Uses of Vector in raytracer.objects |
Methods in raytracer.objects that return Vector | |
abstract Vector |
Surface.calcNormal(Point p)
Calculates the surface normal at the given point |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |