jhplot.v3d
Class Sphere

java.lang.Object
  extended by jhplot.v3d.Position
      extended by jhplot.v3d.Object3d
          extended by jhplot.v3d.Sphere

public class Sphere
extends Object3d

Build a sphere.


Constructor Summary
Sphere(Model3d md, float r, int m, int n)
          Build a sphere.
 
Method Summary
 
Methods inherited from class jhplot.v3d.Object3d
addFace, addFace, addFace, addVertex, addVertex, setColor, setColor, setName
 
Methods inherited from class jhplot.v3d.Position
copyPos, incRot, incScale, incTrans, setRot, setScale, setTrans
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sphere

public Sphere(Model3d md,
              float r,
              int m,
              int n)
Build a sphere.

Parameters:
md - current model
r - radius
m - number of divisions in X for the surface
n - number of divisions in Y for the surface


jHepWork 1.1 (C) Chekanov