jhplot.v3d
Class Object3d
java.lang.Object
jhplot.v3d.Position
jhplot.v3d.Object3d
- Direct Known Subclasses:
- Cube, Prism, Pyramid, Sphere
public class Object3d
- extends Position
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Object3d
public Object3d(Model3d md,
int nvert,
int nface)
Object3d
public Object3d(java.lang.String name,
Model3d md,
int nvert,
int nface)
addVertex
public int addVertex(Vector3d v)
addVertex
public int addVertex(float x,
float y,
float z)
addFace
public int addFace(int nvert,
java.awt.Color c)
addFace
public int addFace(int nvert,
int red,
int green,
int blue)
addFace
public int addFace(int nvert)
setName
public void setName(java.lang.String name)
setColor
public void setColor(java.awt.Color c)
setColor
public void setColor(int red,
int green,
int blue)
jHepWork 1.1 (C) Chekanov