rendered3D
Class Object3D.Line3D
java.lang.Object
rendered3D.Object3D.Generic3D
rendered3D.Object3D.Line3D
- All Implemented Interfaces:
- Shape3D
- Direct Known Subclasses:
- Object3D.Cylinder3D, Object3D.ThickLine3D
- Enclosing class:
- Object3D
public class Object3D.Line3D
- extends Object3D.Generic3D
- implements Shape3D
Method Summary |
Shape3D |
cloneto(Point3D[] oldpoints,
java.util.ArrayList newpoints)
|
void |
draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer)
|
int |
setDepth()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
point1
public Point3D point1
point2
public Point3D point2
Object3D.Line3D
public Object3D.Line3D()
Object3D.Line3D
public Object3D.Line3D(Point3D A,
Point3D B)
- Parameters:
A
- B
-
Object3D.Line3D
public Object3D.Line3D(Point3D A,
Point3D B,
java.awt.Color c)
- Parameters:
A
- B
- c
-
Object3D.Line3D
public Object3D.Line3D(java.util.StringTokenizer k,
java.util.ArrayList p)
- Parameters:
k
- p
-
setDepth
public int setDepth()
- Specified by:
setDepth
in interface Shape3D
- Returns:
cloneto
public Shape3D cloneto(Point3D[] oldpoints,
java.util.ArrayList newpoints)
- Specified by:
cloneto
in interface Shape3D
- Parameters:
oldpoints
- newpoints
-
- Returns:
draw
public void draw(java.awt.Graphics g,
java.awt.image.BufferedImage image_buffer)
- Specified by:
draw
in interface Shape3D
- Parameters:
g
- image_buffer
-