jhplot.v3d
Class Pyramid

java.lang.Object
  extended by jhplot.v3d.Position
      extended by jhplot.v3d.Object3d
          extended by jhplot.v3d.Pyramid
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Cone

public class Pyramid
extends Object3d

Build a Pyramid.

See Also:
Serialized Form

Constructor Summary
Pyramid(Model3d md, Vector3d[] v, int nv, float d)
           
Pyramid(Model3d md, Vector3d[] v, int nv, Vector3d d)
           
 
Method Summary
 Color getBaseColor()
           
 Color getFaceColor(int f)
           
 
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

Pyramid

public Pyramid(Model3d md,
               Vector3d[] v,
               int nv,
               Vector3d d)

Pyramid

public Pyramid(Model3d md,
               Vector3d[] v,
               int nv,
               float d)
Method Detail

getBaseColor

public Color getBaseColor()

getFaceColor

public Color getFaceColor(int f)


jHepWork 3.1 ©