net.sf.j3d.threeD.raytracer.primitives
Class Mesh.Vertex
java.lang.Object
net.sf.j3d.util.Vector
net.sf.j3d.threeD.raytracer.primitives.Mesh.Vertex
- All Implemented Interfaces:
- Cloneable
- Enclosing class:
- Mesh
public static class Mesh.Vertex
- extends Vector
| Methods inherited from class net.sf.j3d.util.Vector |
add, addTo, clone, crossProduct, divide, divideBy, dotProduct, equals, getData, getX, getY, getZ, hashCode, length, lengthSq, minus, multiply, multiplyBy, setX, setY, setZ, subtract, subtractFrom, toString, uniformSphericalRandom |
Mesh.Vertex
public Mesh.Vertex()
Mesh.Vertex
public Mesh.Vertex(Vector p)
setColor
public void setColor(RGB c)
getColor
public RGB getColor()
getColor
public RGB getColor(double d)
setNormal
public void setNormal(double x,
double y,
double z)
setNormal
public void setNormal(Vector n)
getNormal
public Vector getNormal()
getNormal
public Vector getNormal(double d)
addNormal
public void addNormal(Vector n)
removeNormal
public void removeNormal(Vector n)